]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/mdi.cpp
cleanup - reformatting; simplified OnPaint
[wxWidgets.git] / src / msw / mdi.cpp
index 07095b96e76df33c3ac6091f546e6566dda90e4e..96677b643c5b4a380d75a8045e20f44ee2691eaf 100644 (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;