]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dcclient.cpp
Add some version checks to help compiling on OSX.
[wxWidgets.git] / src / msw / dcclient.cpp
index b64aee8c82fa743b01c064836eaccab6144be661..4564a189d1569c5eed1cd7eda41c4040e4890049 100644 (file)
@@ -225,6 +225,12 @@ wxPaintDCImpl::wxPaintDCImpl( wxDC *owner, wxWindow *window ) :
     }
 #endif // wxHAS_PAINT_DEBUG
 
+    // see comments in src/msw/window.cpp where this is defined
+    extern bool wxDidCreatePaintDC;
+
+    wxDidCreatePaintDC = true;
+
+
     m_window = window;
 
     // do we have a DC for this window in the cache?