making the wxContainer select the text field for first child focus instead of choice, so that we have always the same behaviour, since text fields are always focusable, choices only with full keyboard access...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -370,7 +370,6 @@ bool wxComboBox::Create(wxWindow *parent,
|
||||
return false;
|
||||
}
|
||||
|
||||
m_choice = new wxComboBoxChoice(this, style );
|
||||
wxSize csize = size;
|
||||
if ( style & wxCB_READONLY )
|
||||
{
|
||||
@@ -385,6 +384,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);
|
||||
|
||||
|
Reference in New Issue
Block a user