]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/threadsgi.cpp
don't pass garbage to SetData() in wxURLDataObject::SetURL()
[wxWidgets.git] / src / gtk / threadsgi.cpp
index bfbdec4d7a4130ddd0f1d367b6638b5eadd33c39..f8d7d177e0ffb1171be2930c24876246a048cfa0 100644 (file)
@@ -16,6 +16,8 @@
 
 #ifndef WX_PRECOMP
     #include "wx/log.h"
 
 #ifndef WX_PRECOMP
     #include "wx/log.h"
+    #include "wx/utils.h"
+    #include "wx/module.h"
 #endif
 
 #include <stdio.h>
 #endif
 
 #include <stdio.h>
@@ -24,8 +26,6 @@
 #include <signal.h>
 #include <sys/wait.h>
 #include <sys/prctl.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"
 
 #include "gdk/gdk.h"
 #include "gtk/gtk.h"
@@ -261,7 +261,7 @@ bool wxThreadModule::OnInit()
     wxThreadGuiInit();
     p_mainid = (int)getpid();
     wxMainMutex->Lock();
     wxThreadGuiInit();
     p_mainid = (int)getpid();
     wxMainMutex->Lock();
-    return TRUE;
+    return true;
 }
 
 void wxThreadModule::OnExit()
 }
 
 void wxThreadModule::OnExit()