]> git.saurik.com Git - wxWidgets.git/commitdiff
removed code refreshing toolbar on every MDI child move -- no idea why was it there...
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 8 Feb 2006 15:41:45 +0000 (15:41 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 8 Feb 2006 15:41:45 +0000 (15:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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;