]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/nonownedwnd.cpp
Enable variadic macros for VC9 and later.
[wxWidgets.git] / src / msw / nonownedwnd.cpp
index e656ada141b3d26aae326c622ce8ca45747f98a4..09f5ec0f8e1c15e714bc8ab4458a49e3220e3631 100644 (file)
@@ -27,6 +27,7 @@
 #ifndef __WXWINCE__
 
 #ifndef WX_PRECOMP
+    #include "wx/dcclient.h"
     #include "wx/frame.h"       // Only for wxFRAME_SHAPED.
     #include "wx/region.h"
     #include "wx/msw/private.h"
 
 #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"
 
 // ============================================================================