git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21527
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#endif // wxUSE_GUI
#include "wx/build.h"
+#include "wx/init.h" // we must declare wxEntry()
class WXDLLEXPORT wxApp;
class WXDLLEXPORT wxAppTraits;
#if !wxUSE_GUI || !defined(__WXMSW__)
#define IMPLEMENT_WXWIN_MAIN \
- extern int wxEntry( int& argc, char **argv ); \
int main(int argc, char **argv) { return wxEntry(argc, argv); }
#elif defined(__WXMSW__) && defined(WXUSINGDLL)
#define IMPLEMENT_WXWIN_MAIN \