]> git.saurik.com Git - wxWidgets.git/commitdiff
Removed commented out code.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 5 Aug 2009 17:24:10 +0000 (17:24 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 5 Aug 2009 17:24:10 +0000 (17:24 +0000)
No real changes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/aui/framemanager.cpp

index 13be60b14a9607f7c952a83796b6666110ef5991..583f82847e38680220110e3f431d8c4ef47f7732 100644 (file)
@@ -1187,14 +1187,6 @@ bool wxAuiManager::AddPane(wxWindow* window, const wxAuiPaneInfo& pane_info)
             // a toolbar under some newer versions of wxWidgets,
             // so use GetBestSize()
             pinfo.best_size = pinfo.window->GetBestSize();
-
-            // for some reason, wxToolBar::GetBestSize() is returning
-            // a size that is a pixel shy of the correct amount.
-            // I believe this to be the correct action, until
-            // wxToolBar::GetBestSize() is fixed.  Is this assumption
-            // correct?
-            // commented out by JACS 2007-9-08 after having added a pixel in wxMSW's wxToolBar::DoGetBestSize()
-            // pinfo.best_size.y++;
         }
 #endif // wxUSE_TOOLBAR