Fixed DoSetClientSize() causing infinite recursion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2de8030dbe
commit
f76f940bce
@ -361,7 +361,7 @@ void wxFrame::DoSetClientSize( int width, int height )
|
||||
m_frameToolBar->GetSize( (int *) NULL, &y );
|
||||
h += y;
|
||||
}
|
||||
wxWindow::SetClientSize( width + m_miniEdge*2, h + m_miniEdge*2 + m_miniTitle );
|
||||
wxWindow::DoSetClientSize( width + m_miniEdge*2, h + m_miniEdge*2 + m_miniTitle );
|
||||
}
|
||||
|
||||
void wxFrame::GtkOnSize( int WXUNUSED(x), int WXUNUSED(y), int width, int height )
|
||||
|
@ -361,7 +361,7 @@ void wxFrame::DoSetClientSize( int width, int height )
|
||||
m_frameToolBar->GetSize( (int *) NULL, &y );
|
||||
h += y;
|
||||
}
|
||||
wxWindow::SetClientSize( width + m_miniEdge*2, h + m_miniEdge*2 + m_miniTitle );
|
||||
wxWindow::DoSetClientSize( width + m_miniEdge*2, h + m_miniEdge*2 + m_miniTitle );
|
||||
}
|
||||
|
||||
void wxFrame::GtkOnSize( int WXUNUSED(x), int WXUNUSED(y), int width, int height )
|
||||
|
Loading…
Reference in New Issue
Block a user