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:
parent
a7e0e432a2
commit
7a7d2a14fd
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user