]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dcclient.cpp
Bring osx class naming into line with the other ports.
[wxWidgets.git] / src / msw / dcclient.cpp
index b64aee8c82fa743b01c064836eaccab6144be661..bad81c1e72762e0ba45cd3d69a797aa56573060d 100644 (file)
@@ -236,6 +236,11 @@ wxPaintDCImpl::wxPaintDCImpl( wxDC *owner, wxWindow *window ) :
     }
     else // not in cache, create a new one
     {
+        // see comments in src/msw/window.cpp where this is defined
+        extern bool wxDidCreatePaintDC;
+
+        wxDidCreatePaintDC = true;
+
         m_hDC = (WXHDC)::BeginPaint(GetHwndOf(m_window), &g_paintStruct);
         if (m_hDC)
             ms_cache.Add(new wxPaintDCInfo(m_window, this));