From 59abfcf813ccca7366bfb6d830e1251be5514ac7 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 8 Feb 2006 15:41:45 +0000 Subject: [PATCH] removed code refreshing toolbar on every MDI child move -- no idea why was it there (since rev 1.1) but it results in horrible flicker and removing it doesn't seem to do any harm git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/mdi.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/msw/mdi.cpp b/src/msw/mdi.cpp index 07095b96e7..96677b643c 100644 --- a/src/msw/mdi.cpp +++ b/src/msw/mdi.cpp @@ -1112,13 +1112,6 @@ bool wxMDIChildFrame::HandleWindowPosChanging(void *pos) lpPos->cx = rectClient.right - rectClient.left; lpPos->cy = rectClient.bottom - rectClient.top; } -#if wxUSE_TOOLBAR - wxMDIParentFrame* pFrameWnd = (wxMDIParentFrame *)GetParent(); - if (pFrameWnd && pFrameWnd->GetToolBar() && pFrameWnd->GetToolBar()->IsShown()) - { - pFrameWnd->GetToolBar()->Refresh(); - } -#endif } return false; -- 2.45.2