From ecde6016eff87428dc9d211c16e080f14ee9472d Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 27 Jan 2002 23:37:47 +0000 Subject: [PATCH] calling wxWindow::Update from wxWindowDC ctor wasn't good idea, interacts with carets... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mgl/dcclient.cpp | 4 ---- 1 file changed, 4 deletions(-) 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; -- 2.50.0