From 2c181e9954b2f2e02fa74bced4f4a1adbbccee91 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 5 Aug 2009 17:24:10 +0000 Subject: [PATCH] Removed commented out code. No real changes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/aui/framemanager.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/aui/framemanager.cpp b/src/aui/framemanager.cpp index 13be60b14a..583f82847e 100644 --- a/src/aui/framemanager.cpp +++ b/src/aui/framemanager.cpp @@ -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 -- 2.45.2