use wrapwin.h instead of windows.h + winundef.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -595,8 +595,7 @@ public:
|
|||||||
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)
|
||||||
// we need HINSTANCE declaration to define WinMain()
|
// we need HINSTANCE declaration to define WinMain()
|
||||||
#include <windows.h>
|
#include "wx/msw/wrapwin.h"
|
||||||
#include "wx/msw/winundef.h"
|
|
||||||
|
|
||||||
#define IMPLEMENT_WXWIN_MAIN \
|
#define IMPLEMENT_WXWIN_MAIN \
|
||||||
extern int wxEntry(HINSTANCE hInstance, \
|
extern int wxEntry(HINSTANCE hInstance, \
|
||||||
|
Reference in New Issue
Block a user