Fix initial focus issue on OSX.

This commit is contained in:
Jeff Young 2020-12-24 10:35:57 +00:00
parent ce700d4e16
commit 1d874e690e
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,8 @@ WX_TEXT_ENTRY_DIALOG::WX_TEXT_ENTRY_DIALOG( wxWindow* aParent,
{
m_label->SetLabel( aFieldLabel );
m_textCtrl->SetValue( aDefaultValue );
SetInitialFocus( m_textCtrl );
m_sdbSizer1OK->SetDefault();
}