]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/app.cpp
wxVListBox doesn't handle (at least horz) resizing properly without wxFULL_REPAINT_ON...
[wxWidgets.git] / src / gtk1 / app.cpp
index 53aa238e66165046506fec4f015e4c5adcb8f348..fee3c423dcc5537b82b66953f1fb97b46db36472 100644 (file)
 #include "wx/module.h"
 #include "wx/image.h"
 
 #include "wx/module.h"
 #include "wx/image.h"
 
+#ifdef __WXGPE__
+#include <gpe/init.h>
+#endif
+
 #ifdef __WXUNIVERSAL__
     #include "wx/univ/theme.h"
     #include "wx/univ/renderer.h"
 #ifdef __WXUNIVERSAL__
     #include "wx/univ/theme.h"
     #include "wx/univ/renderer.h"
@@ -582,7 +586,12 @@ bool wxApp::Initialize(int& argc, wxChar **argv)
     argvGTK[argc] = NULL;
 
     int argcGTK = argc;
     argvGTK[argc] = NULL;
 
     int argcGTK = argc;
+    
+#ifdef __WXGPE__
+    gpe_application_init( &argcGTK, &argvGTK );
+#else
     gtk_init( &argcGTK, &argvGTK );
     gtk_init( &argcGTK, &argvGTK );
+#endif
 
     if ( argcGTK != argc )
     {
 
     if ( argcGTK != argc )
     {