]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for headers without _WIN32_IE
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 10 Dec 1999 19:46:12 +0000 (19:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 10 Dec 1999 19:46:12 +0000 (19:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/app.cpp

index 2bb095e842902521a6bf400f2e5d7240fbe9abac..9c46030706c1d1c2c0cbb1a3b7ff384e596a0c74 100644 (file)
@@ -85,7 +85,6 @@
 
 #if (defined(__WIN95__) && !defined(__GNUWIN32__)) || defined(__TWIN32__) || defined(wxUSE_NORLANDER_HEADERS)
     #include <commctrl.h>
-    #include <shlwapi.h>
 #endif
 
 #include "wx/msw/msvcrt.h"
     #define _WIN32_IE 0x0200
 #endif
 
+#if _WIN32_IE >= 0x0300
+    #include <shlwapi.h>
+#endif
+
 // ---------------------------------------------------------------------------
 // global variables
 // ---------------------------------------------------------------------------