porting reordering of controls back from 2.8

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2008-03-25 19:50:38 +00:00
parent 95dfcbad97
commit 0685aa9eb6

View File

@ -366,7 +366,6 @@ bool wxComboBox::Create(wxWindow *parent,
return false;
}
m_choice = new wxComboBoxChoice(this, style );
wxSize csize = size;
if ( style & wxCB_READONLY )
{
@ -381,6 +380,7 @@ bool wxComboBox::Create(wxWindow *parent,
csize.y += 2 * TEXTFOCUSBORDER ;
}
}
m_choice = new wxComboBoxChoice(this, style );
DoSetSize(pos.x, pos.y, csize.x, csize.y);