Set OK button as the default one in WX_TEXT_ENTRY_DIALOG
Enables accepting the input by pressing the Return key.
This commit is contained in:
parent
b8c282fa6f
commit
7483a73a5f
|
@ -35,6 +35,7 @@ WX_TEXT_ENTRY_DIALOG::WX_TEXT_ENTRY_DIALOG( wxWindow* aParent,
|
|||
{
|
||||
m_label->SetLabel( aFieldLabel );
|
||||
m_textCtrl->SetValue( aDefaultValue );
|
||||
m_sdbSizer1OK->SetDefault();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue