X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/de6185e212ebc37ff11ff70278e3c4f68419b097..f363cee882672e147340240cf0bb194a68e37833:/src/gtk1/threadsgi.cpp diff --git a/src/gtk1/threadsgi.cpp b/src/gtk1/threadsgi.cpp index b4e1b4ab82..830c0eb1d2 100644 --- a/src/gtk1/threadsgi.cpp +++ b/src/gtk1/threadsgi.cpp @@ -4,7 +4,6 @@ // Author: Original from Wolfram Gloger/Guilhem Lavaux // Modified by: // Created: 04/22/98 -// RCS-ID: $Id$ // Copyright: (c) Wolfram Gloger (1996, 1997); Guilhem Lavaux (1998) // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -17,6 +16,7 @@ #ifndef WX_PRECOMP #include "wx/log.h" #include "wx/utils.h" + #include "wx/module.h" #endif #include @@ -25,7 +25,6 @@ #include #include #include -#include "wx/module.h" #include "gdk/gdk.h" #include "gtk/gtk.h" @@ -66,7 +65,9 @@ wxMutex::wxMutex() wxMutex::~wxMutex() { if (m_locked > 0) + { wxLogDebug( "wxMutex warning: freeing a locked mutex (%d locks)\n", m_locked ); + } delete p_internal; } @@ -124,7 +125,7 @@ void wxThreadPrivate::SprocStart(void *ptr) thr->p_internal->thread_id = getpid(); thr->p_internal->exit_status = 0; - status = thr->Entry(); + status = thr->CallEntry(); thr->Exit(status); }