]> git.saurik.com Git - wxWidgets.git/commitdiff
use wrapwin.h instead of windows.h + winundef.h
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 3 Aug 2003 23:30:35 +0000 (23:30 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 3 Aug 2003 23:30:35 +0000 (23:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/app.h

index a7459b0269be0330ccae01d8ceefd7982599269c..755a3f25e9a3979e2dfb201c4720cb916b2b1f0d 100644 (file)
@@ -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,                               \