X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5bee6b2be4521242b065db1a8ce43ce162b0c91e..dcae64c221450a7ca9b530ecf44757543c33a754:/src/msw/mdi.cpp 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;