X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2049ba38adafa0ec146880de29f26e32dd69a125..b593568eca4d3baf5010d005756a47adeb519008:/include/wx/app.h diff --git a/include/wx/app.h b/include/wx/app.h index c4a3d4ba43..5bfeb5db30 100644 --- a/include/wx/app.h +++ b/include/wx/app.h @@ -12,14 +12,14 @@ #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