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:
parent
da0b5338fe
commit
00466512a8
@ -595,8 +595,7 @@ public:
|
||||
int main(int argc, char **argv) { return wxEntry(argc, argv); }
|
||||
#elif defined(__WXMSW__) && defined(WXUSINGDLL)
|
||||
// we need HINSTANCE declaration to define WinMain()
|
||||
#include <windows.h>
|
||||
#include "wx/msw/winundef.h"
|
||||
#include "wx/msw/wrapwin.h"
|
||||
|
||||
#define IMPLEMENT_WXWIN_MAIN \
|
||||
extern int wxEntry(HINSTANCE hInstance, \
|
||||
|
Loading…
Reference in New Issue
Block a user