]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/nonownedwnd.cpp
Fix problem with COMDLG_FILTERSPEC declaration with MinGW-w64 4.8.
[wxWidgets.git] / src / msw / nonownedwnd.cpp
index 04340b0a583cb5739150b3984f4bd48c89e478fb..fca7bfe879b53267fe7bf813ce83ce25eb48f36c 100644 (file)
@@ -3,7 +3,6 @@
 // Purpose:     wxNonOwnedWindow implementation for MSW.
 // Author:      Vadim Zeitlin
 // Created:     2011-10-09 (extracted from src/msw/toplevel.cpp)
-// RCS-ID:      $Id: $
 // Copyright:   (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #include "wx/nonownedwnd.h"
 
-#include "wx/msw/wrapgdip.h"
-#include "wx/graphics.h"
+#if wxUSE_GRAPHICS_CONTEXT
+    #include "wx/msw/wrapgdip.h"
+    #include "wx/graphics.h"
+#endif // wxUSE_GRAPHICS_CONTEXT
+
 #include "wx/scopedptr.h"
 
 // ============================================================================