]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/app.h
fixed mysterious mistakes
[wxWidgets.git] / include / wx / app.h
index 6a92d6e28e23ff80a0d739c0ee73dac280f480c0..5bfeb5db301e5e02c1aeab47e16f319f62145d42 100644 (file)
 #ifndef __APPH_BASE__
 #define __APPH_BASE__
 
-#ifndef __WXGTK__
+#ifdef __WXMSW__
 class WXDLLEXPORT wxApp;
 typedef wxApp* (*wxAppInitializerFunction) (void);
 #endif
 
 #include "wx/object.h"
 
-#ifdef __WXGTK__
+#ifndef __WXMSW__
 typedef wxObject* (*wxAppInitializerFunction) (void);  // returning wxApp* won't work with gcc
 #endif