From: Vadim Zeitlin Date: Sun, 3 Aug 2003 23:30:35 +0000 (+0000) Subject: use wrapwin.h instead of windows.h + winundef.h X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/00466512a81bec2b94afbedb859cbdbc9d80fd84 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 --- diff --git a/include/wx/app.h b/include/wx/app.h index a7459b0269..755a3f25e9 100644 --- a/include/wx/app.h +++ b/include/wx/app.h @@ -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 - #include "wx/msw/winundef.h" + #include "wx/msw/wrapwin.h" #define IMPLEMENT_WXWIN_MAIN \ extern int wxEntry(HINSTANCE hInstance, \