From 4c2a8d899d3332b5ea440f605c2468405d5ed905 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 5 Jun 2007 17:31:10 +0000 Subject: [PATCH] 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 --- include/wx/app.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 // ---------------------------------------------------------------------------- -- 2.45.2