]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/app.cpp
Remove unnecessary base class OnPaint() call from wxGenericColourDialog.
[wxWidgets.git] / src / gtk / app.cpp
index ebe21af915cd4a0d0e05e272ef79edc845928dfe..318952f62bb38439b09f7c5c3f6db3346b48043e 100644 (file)
@@ -368,7 +368,7 @@ bool wxApp::Initialize(int& argc_, wxChar **argv_)
     init_result = true;  // is there a _check() version of this?
     gpe_application_init( &argcGTK, &argvGTK );
 #else
     init_result = true;  // is there a _check() version of this?
     gpe_application_init( &argcGTK, &argvGTK );
 #else
-    init_result = gtk_init_check( &argcGTK, &argvGTK );
+    init_result = gtk_init_check( &argcGTK, &argvGTK ) != 0;
 #endif
     wxUpdateLocaleIsUtf8();
 
 #endif
     wxUpdateLocaleIsUtf8();