X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2003562174a484f41cddba0d8b236b775f2b6e5a..4cd4a9ff70cdfdfc054747d7dae6101da3f94c03:/src/aui/framemanager.cpp 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