]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/imaglist.cpp
we no longer need wxFrameNative
[wxWidgets.git] / src / msw / imaglist.cpp
index f8a26cd0363aa3971ab7bc17f9feeb0b8ed40305..5140135aebb0edbfa60d7c9eb6b72d905a83e9e1 100644 (file)
@@ -46,7 +46,7 @@
 #include "wx/msw/imaglist.h"
 #include "wx/msw/private.h"
 
 #include "wx/msw/imaglist.h"
 #include "wx/msw/private.h"
 
-#if !defined(__GNUWIN32_OLD__) && !defined(__TWIN32__)
+#if defined(__WIN95__) && !((defined(__GNUWIN32_OLD__) || defined(__TWIN32__)) && !defined(__CYGWIN10__))
     #include <commctrl.h>
 #endif
 
     #include <commctrl.h>
 #endif