]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/app.h
Correct the wxButton::Setlabel nonsense
[wxWidgets.git] / include / wx / app.h
index c4a3d4ba43fe7e573cc6106ba56a8eae27914622..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
 
@@ -27,6 +27,8 @@ typedef wxObject* (*wxAppInitializerFunction) (void);  // returning wxApp* won't
 #include "wx/msw/app.h"
 #elif defined(__WXMOTIF__)
 #include "wx/xt/app.h"
+#elif defined(__WXQT__)
+#include "wx/qt/app.h"
 #elif defined(__WXGTK__)
 #include "wx/gtk/app.h"
 #endif