#ifndef WX_PRECOMP
#include "wx/log.h"
+ #include "wx/utils.h"
+ #include "wx/module.h"
#endif
#include <stdio.h>
#include <signal.h>
#include <sys/wait.h>
#include <sys/prctl.h>
-#include "wx/module.h"
-#include "wx/utils.h"
#include "gdk/gdk.h"
#include "gtk/gtk.h"
wxMutex::~wxMutex()
{
if (m_locked > 0)
+ {
wxLogDebug( "wxMutex warning: freeing a locked mutex (%d locks)\n", m_locked );
+ }
delete p_internal;
}
wxThreadGuiInit();
p_mainid = (int)getpid();
wxMainMutex->Lock();
- return TRUE;
+ return true;
}
void wxThreadModule::OnExit()
wxThreadGuiExit();
delete wxMainMutex;
}
-