From: Vadim Zeitlin Date: Tue, 5 Jun 2007 17:31:10 +0000 (+0000) Subject: compilation fix after last commit: make wxAppConsole a class, not typedef, under... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4c2a8d899d3332b5ea440f605c2468405d5ed905 compilation fix after last commit: make wxAppConsole a class, not typedef, under non-Unix as we can't forward declare a typedef git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/app.h b/include/wx/app.h index b82a6efc2d..3e3e8c7665 100644 --- a/include/wx/app.h +++ b/include/wx/app.h @@ -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 // ----------------------------------------------------------------------------