X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c282e47d8f2179954ca40688677961c169688084..4a699e3a59b19c21b6faae714b56cac5a75df2e2:/src/gtk/app.cpp diff --git a/src/gtk/app.cpp b/src/gtk/app.cpp index ebe21af915..318952f62b 100644 --- a/src/gtk/app.cpp +++ b/src/gtk/app.cpp @@ -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 = gtk_init_check( &argcGTK, &argvGTK ); + init_result = gtk_init_check( &argcGTK, &argvGTK ) != 0; #endif wxUpdateLocaleIsUtf8();