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:
@@ -24,6 +24,7 @@
|
|||||||
#endif // wxUSE_GUI
|
#endif // wxUSE_GUI
|
||||||
|
|
||||||
#include "wx/build.h"
|
#include "wx/build.h"
|
||||||
|
#include "wx/init.h" // we must declare wxEntry()
|
||||||
|
|
||||||
class WXDLLEXPORT wxApp;
|
class WXDLLEXPORT wxApp;
|
||||||
class WXDLLEXPORT wxAppTraits;
|
class WXDLLEXPORT wxAppTraits;
|
||||||
@@ -554,7 +555,6 @@ public:
|
|||||||
|
|
||||||
#if !wxUSE_GUI || !defined(__WXMSW__)
|
#if !wxUSE_GUI || !defined(__WXMSW__)
|
||||||
#define IMPLEMENT_WXWIN_MAIN \
|
#define IMPLEMENT_WXWIN_MAIN \
|
||||||
extern int wxEntry( int& argc, char **argv ); \
|
|
||||||
int main(int argc, char **argv) { return wxEntry(argc, argv); }
|
int main(int argc, char **argv) { return wxEntry(argc, argv); }
|
||||||
#elif defined(__WXMSW__) && defined(WXUSINGDLL)
|
#elif defined(__WXMSW__) && defined(WXUSINGDLL)
|
||||||
#define IMPLEMENT_WXWIN_MAIN \
|
#define IMPLEMENT_WXWIN_MAIN \
|
||||||
|
Reference in New Issue
Block a user