Allow changing wxPG_EX_ALWAYS_ALLOW_FOCUS in propgrid sample

Add wxPG_EX_ALWAYS_ALLOW_FOCUS to the list of flags which can be changed.
This commit is contained in:
Artur Wieczorek 2017-10-18 22:57:39 +02:00
parent 19dbdca53b
commit 2f3376c4c5

View File

@ -2914,6 +2914,7 @@ void FormMain::OnSelectStyle( wxCommandEvent& WXUNUSED(event) )
ADD_FLAG(wxPG_EX_ENABLE_TLP_TRACKING)
ADD_FLAG(wxPG_EX_NO_TOOLBAR_DIVIDER)
ADD_FLAG(wxPG_EX_TOOLBAR_SEPARATOR)
ADD_FLAG(wxPG_EX_ALWAYS_ALLOW_FOCUS)
wxMultiChoiceDialog dlg( this, wxT("Select extra window styles to use"),
wxT("wxPropertyGrid Extra Style"), chs );
dlg.SetSelections(sel);