Focus the contents of the generic preferences dialog initially
This is more useful than leaving the focus on the "OK" button, which can already be easily activated from keyboard. Closes #19277.
This commit is contained in:
parent
9c17ff731a
commit
34989c614d
@ -58,6 +58,8 @@ public:
|
||||
wxSizerFlags().Expand().DoubleBorder(wxLEFT|wxRIGHT|wxBOTTOM));
|
||||
#endif
|
||||
SetSizer(sizer);
|
||||
|
||||
m_notebook->SetFocus();
|
||||
}
|
||||
|
||||
void AddPage(wxPreferencesPage *page)
|
||||
|
Loading…
Reference in New Issue
Block a user