Removed erroneous second reference to status bar height

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2011-06-03 17:18:35 +00:00
parent d1fc95780b
commit 45791d3c21

View File

@@ -262,10 +262,6 @@ void wxFrame::DoSetClientSize(int width, int height)
#if wxUSE_TOOLBAR
if ( m_frameToolBar )
{
#if wxUSE_STATUSBAR
height += m_frameStatusBar->GetSize().y;
#endif // wxUSE_STATUSBAR
if ( m_frameToolBar->GetWindowStyleFlag() & wxTB_VERTICAL )
width += m_frameToolBar->GetSize().x;
else