]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dc.cpp
don't include windows.h unless neccessary
[wxWidgets.git] / src / msw / dc.cpp
index 80668e7755df555a7219fd8de7bd33ca9f569b0e..f3d7c453e48e7d46c91b837edc6587c6464ad315 100644 (file)
@@ -49,7 +49,7 @@
 
 #include "wx/msw/private.h" // needs to be before #include <commdlg.h>
 
 
 #include "wx/msw/private.h" // needs to be before #include <commdlg.h>
 
-#if wxUSE_COMMON_DIALOGS
+#if wxUSE_COMMON_DIALOGS && !defined(__WXMICROWIN__)
     #include <commdlg.h>
 #endif
 
     #include <commdlg.h>
 #endif