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
This commit is contained in:
parent
9dc14ebce0
commit
ecde6016ef
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user