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:
@@ -262,10 +262,6 @@ void wxFrame::DoSetClientSize(int width, int height)
|
|||||||
#if wxUSE_TOOLBAR
|
#if wxUSE_TOOLBAR
|
||||||
if ( m_frameToolBar )
|
if ( m_frameToolBar )
|
||||||
{
|
{
|
||||||
#if wxUSE_STATUSBAR
|
|
||||||
height += m_frameStatusBar->GetSize().y;
|
|
||||||
#endif // wxUSE_STATUSBAR
|
|
||||||
|
|
||||||
if ( m_frameToolBar->GetWindowStyleFlag() & wxTB_VERTICAL )
|
if ( m_frameToolBar->GetWindowStyleFlag() & wxTB_VERTICAL )
|
||||||
width += m_frameToolBar->GetSize().x;
|
width += m_frameToolBar->GetSize().x;
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user