From: Vadim Zeitlin Date: Mon, 30 Jun 2003 21:39:25 +0000 (+0000) Subject: include init.h as wxEntry is supposed to be declared here X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0fcbaf23fd4ab7bcb0f3bc7cb9b7cf0ee28de744 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 --- diff --git a/include/wx/app.h b/include/wx/app.h index 7d27f9a427..d01a8c6d59 100644 --- a/include/wx/app.h +++ b/include/wx/app.h @@ -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 \