moved WinMain into the application even for static build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -593,7 +593,7 @@ public:
|
||||
#if !wxUSE_GUI || !defined(__WXMSW__)
|
||||
#define IMPLEMENT_WXWIN_MAIN \
|
||||
int main(int argc, char **argv) { return wxEntry(argc, argv); }
|
||||
#elif defined(__WXMSW__) && defined(WXUSINGDLL)
|
||||
#elif defined(__WXMSW__)
|
||||
// we need HINSTANCE declaration to define WinMain()
|
||||
#include "wx/msw/wrapwin.h"
|
||||
|
||||
|
Reference in New Issue
Block a user