X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6773ae198f4ff542231d85b4df7283af143d82eb..50c319beec2454b4f669b6c8cf3d089f53c979f6:/src/gtk1/threadpsx.cpp diff --git a/src/gtk1/threadpsx.cpp b/src/gtk1/threadpsx.cpp index 2d4912c05a..2fb5106aa7 100644 --- a/src/gtk1/threadpsx.cpp +++ b/src/gtk1/threadpsx.cpp @@ -19,6 +19,7 @@ #include "wx/thread.h" #include "wx/module.h" #include "wx/utils.h" +#include "wx/log.h" enum thread_state { STATE_IDLE = 0, @@ -63,8 +64,7 @@ wxMutex::wxMutex() wxMutex::~wxMutex() { if (m_locked > 0) - wxDebugMsg("wxMutex warning: freeing a locked mutex (%d locks)\n", - m_locked); + wxLogDebug( "wxMutex warning: freeing a locked mutex (%d locks)\n", m_locked ); pthread_mutex_destroy(&(p_internal->p_mutex)); delete p_internal; @@ -380,7 +380,7 @@ public: wxMainMutex = new wxMutex(); wxThreadGuiInit(); p_mainid = pthread_self(); - p_threads_list = wxList(wxKEY_INTEGER); +// p_threads_list = wxList(wxKEY_INTEGER); wxMainMutex->Lock(); return TRUE;