#if defined(_WIN32)
+
// How to have a Console and wxWidgets
// http://www.wxwidgets.org/wiki/index.php/MSVC_Setup_Guide
// In Visual C++ 6 (7 should be similar), to create an application that is both a console application
return WinMain(::GetModuleHandle(NULL), NULL, \
::GetCommandLine(), SW_SHOWNORMAL); \
}
+
#else // defined(_WIN32)
+
#define CREA_WXMAIN_WITH_CONSOLE
+
#endif // defined(_WIN32)