Fix initial focus issue on OSX.
This commit is contained in:
parent
ce700d4e16
commit
1d874e690e
|
@ -32,6 +32,8 @@ WX_TEXT_ENTRY_DIALOG::WX_TEXT_ENTRY_DIALOG( wxWindow* aParent,
|
||||||
{
|
{
|
||||||
m_label->SetLabel( aFieldLabel );
|
m_label->SetLabel( aFieldLabel );
|
||||||
m_textCtrl->SetValue( aDefaultValue );
|
m_textCtrl->SetValue( aDefaultValue );
|
||||||
|
|
||||||
|
SetInitialFocus( m_textCtrl );
|
||||||
m_sdbSizer1OK->SetDefault();
|
m_sdbSizer1OK->SetDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue