]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/threadsgi.cpp
Applied patch from Ticket #9563. Use just the rectangle of the widget with the focus...
[wxWidgets.git] / src / gtk1 / threadsgi.cpp
index 914ad1ef3739cceea8dafb6425f590818c0054f9..8f49d94a32d902b7e456bb7a96b9bccfc4ccd4ce 100644 (file)
@@ -16,6 +16,8 @@
 
 #ifndef WX_PRECOMP
     #include "wx/log.h"
+    #include "wx/utils.h"
+    #include "wx/module.h"
 #endif
 
 #include <stdio.h>
@@ -24,8 +26,6 @@
 #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"
@@ -261,7 +261,7 @@ bool wxThreadModule::OnInit()
     wxThreadGuiInit();
     p_mainid = (int)getpid();
     wxMainMutex->Lock();
-    return TRUE;
+    return true;
 }
 
 void wxThreadModule::OnExit()
@@ -270,4 +270,3 @@ void wxThreadModule::OnExit()
     wxThreadGuiExit();
     delete wxMainMutex;
 }
-