X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6773ae198f4ff542231d85b4df7283af143d82eb..c030b70fc6270c2e44a81f83e69fcc91d2b3c768:/src/gtk/threadsgi.cpp diff --git a/src/gtk/threadsgi.cpp b/src/gtk/threadsgi.cpp index 66b6b0da7b..556d032152 100644 --- a/src/gtk/threadsgi.cpp +++ b/src/gtk/threadsgi.cpp @@ -21,6 +21,7 @@ #include "wx/thread.h" #include "wx/module.h" #include "wx/utils.h" +#include "wx/log.h" enum thread_state { STATE_IDLE = 0, @@ -57,8 +58,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 ); delete p_internal; }