]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/app.h
Replaced typo that had wxCALLBACK being redefined. wxSTDCALL should have been the...
[wxWidgets.git] / include / wx / app.h
index 5341e7d2b12ca0b153017fd564a9c34c7172819b..559fdebc4f59e468c53746cb0349fe90ab8756af 100644 (file)
@@ -362,7 +362,7 @@ public:
 // be in your main program (e.g. hello.cpp). Now IMPLEMENT_APP should add this
 // code if required.
 
-#if defined(__AIX__) || defined(__HPUX__) || defined( __VMS__ ) || defined(__WXPM__)
+#if !wxUSE_GUI || defined(__AIX__) || defined(__HPUX__) || defined( __VMS__ ) || defined(__WXPM__)
     #define IMPLEMENT_WXWIN_MAIN \
         extern int wxEntry( int argc, char *argv[] ); \
         int main(int argc, char *argv[]) { return wxEntry(argc, argv); }