diff --git a/samples/thread/test.cpp b/samples/thread/test.cpp index 47149b62a7..66bf9e5a66 100644 --- a/samples/thread/test.cpp +++ b/samples/thread/test.cpp @@ -87,7 +87,7 @@ void *MyThread::Entry() TestDestroy(); text_mutex.Lock(); m_frame->m_txtctrl->WriteText(text); - text_mutex.UnLock(); + text_mutex.Unlock(); wxSleep(1); }