From: Julian Smart Date: Fri, 3 Jun 2011 17:18:35 +0000 (+0000) Subject: Removed erroneous second reference to status bar height X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/45791d3c21bc4fa03d814922dda0d87d6db43b3c 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 --- diff --git a/src/univ/framuniv.cpp b/src/univ/framuniv.cpp index 0d08d019ce..01076f3e65 100644 --- a/src/univ/framuniv.cpp +++ b/src/univ/framuniv.cpp @@ -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