include init.h as wxEntry is supposed to be declared here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
9a4c649ea2
commit
0fcbaf23fd
@ -24,6 +24,7 @@
|
||||
#endif // wxUSE_GUI
|
||||
|
||||
#include "wx/build.h"
|
||||
#include "wx/init.h" // we must declare wxEntry()
|
||||
|
||||
class WXDLLEXPORT wxApp;
|
||||
class WXDLLEXPORT wxAppTraits;
|
||||
@ -554,7 +555,6 @@ public:
|
||||
|
||||
#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 \
|
||||
|
Loading…
Reference in New Issue
Block a user