From: Dimitri Schoolwerth Date: Wed, 23 Jun 2004 14:49:42 +0000 (+0000) Subject: fixed unresolved symbol main (occurred with wxMac) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7738c2e59a176412216663bbc3e37163eb913ccd fixed unresolved symbol main (occurred with wxMac) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/app.h b/include/wx/app.h index 5c31889fc1..5cd13556bb 100644 --- a/include/wx/app.h +++ b/include/wx/app.h @@ -622,11 +622,7 @@ public: // port-specific header could have defined it already in some special wau #ifndef IMPLEMENT_WXWIN_MAIN - #if !wxUSE_GUI - #define IMPLEMENT_WXWIN_MAIN IMPLEMENT_WXWIN_MAIN_CONSOLE - #else // wxUSE_GUI - #define IMPLEMENT_WXWIN_MAIN - #endif + #define IMPLEMENT_WXWIN_MAIN IMPLEMENT_WXWIN_MAIN_CONSOLE #endif // defined(IMPLEMENT_WXWIN_MAIN) #ifdef __WXUNIVERSAL__