]> git.saurik.com Git - wxWidgets.git/commitdiff
Corrected typo
authorJulian Smart <julian@anthemion.co.uk>
Fri, 15 Aug 2003 08:43:53 +0000 (08:43 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 15 Aug 2003 08:43:53 +0000 (08:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/thread.cpp

index 820f64cca9c3f957bb26376405666283c238c69a..7cfa033a6466112b47c767c3b6feffd85a96cd06 100644 (file)
@@ -877,7 +877,7 @@ wxThreadInternal::WaitForTerminate(bool shouldCancel,
     // we don't need the thread handle any more
     Free();
 
     // we don't need the thread handle any more
     Free();
 
-    wxCriticalSectionLocker lock(critsect);
+    wxCriticalSectionLocker lock(cs);
     SetState(STATE_EXITED);
 
     return rc == (wxThread::ExitCode)-1 ? wxTHREAD_MISC_ERROR
     SetState(STATE_EXITED);
 
     return rc == (wxThread::ExitCode)-1 ? wxTHREAD_MISC_ERROR