X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/350d00642781486fcefd4bb7b27d8ef39f3276a9..221ed5767f7ef4d51b0bbef50ec9f53edfaa46f2:/src/mgl/dcclient.cpp?ds=sidebyside diff --git a/src/mgl/dcclient.cpp b/src/mgl/dcclient.cpp index e5b507cc92..1bf1ba57f3 100644 --- a/src/mgl/dcclient.cpp +++ b/src/mgl/dcclient.cpp @@ -44,10 +44,6 @@ wxWindowDC::wxWindowDC(wxWindow *win) : m_wnd(win) { m_inPaintHandler = FALSE; - // VS: we have to update here so that screen's content is up-to-date - // and blitting from wxWindowDC works as expected - win->Update(); - dc = new MGLDevCtx(MGL_wmBeginPaint(win->GetHandle())); MGLRegion clip;