Removed commented out code.
No real changes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user