don't call SetSize when creating the 2nd toolbar, this just results in unnecessary flicker

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2005-07-31 19:00:54 +00:00
parent a7e0e432a2
commit 7a7d2a14fd

View File

@ -531,8 +531,7 @@ void MyFrame::LayoutChildren()
int offset;
if ( m_tbar )
{
m_tbar->SetSize(wxDefaultCoord, size.y);
m_tbar->Move(0, 0);
m_tbar->SetSize(0, 0, wxDefaultCoord, size.y);
offset = m_tbar->GetSize().x;
}