]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/window.cpp
Do not use GTKIsUsingGlobalMenu when compiled against gtk1.x
[wxWidgets.git] / src / msw / window.cpp
index 782d8c442e183891dd76096e86b7f50a59fd4917..1289c4fcb845651b37b493dc0251667a06276c64 100644 (file)
@@ -4816,6 +4816,8 @@ bool wxWindowMSW::HandlePaint()
     // be called from inside the event handlers called above)
     m_updateRegion.Clear();
 
+    wxPaintDCImpl::EndPaint((wxWindow *)this);
+
     return processed;
 }