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
This commit is contained in:
Vadim Zeitlin
2006-02-08 15:41:45 +00:00
parent 5bee6b2be4
commit 59abfcf813

View File

@@ -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;