]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix after last commit: make wxAppConsole a class, not typedef, under...
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 5 Jun 2007 17:31:10 +0000 (17:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 5 Jun 2007 17:31:10 +0000 (17:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/app.h

index b82a6efc2d00e7d8b3be1856ea4b53319a11fba7..3e3e8c766553860f827b63bb6469d41bb83265a2 100644 (file)
@@ -345,7 +345,8 @@ protected:
 #if defined(__UNIX__)
     #include "wx/unix/app.h"
 #else
-    typedef wxAppConsoleBase wxAppConsole;
+    // this has to be a class and not a typedef as we forward declare it
+    class wxAppConsole : public wxAppConsoleBase { };
 #endif
 
 // ----------------------------------------------------------------------------