]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/frame.cpp
More asserts and stuff
[wxWidgets.git] / src / msw / frame.cpp
index db3bd68269d71c36b6e4142afb6b8834e9a723c7..f3123bd1d470820e4ebe242111810deaa608f1eb 100644 (file)
@@ -878,10 +878,7 @@ bool wxFrame::HandlePaint()
         }
         else
         {
-            wxPaintEvent event(m_windowId);
-            event.m_eventObject = this;
-
-            return GetEventHandler()->ProcessEvent(event);
+            return wxWindow::HandlePaint();
         }
     }
     else