From 2f3376c4c5221a75ba265af84007d5721a60edb4 Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Wed, 18 Oct 2017 22:57:39 +0200 Subject: [PATCH] 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. --- samples/propgrid/propgrid.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/propgrid/propgrid.cpp b/samples/propgrid/propgrid.cpp index d8fa17c4f6..aaa72e8716 100644 --- a/samples/propgrid/propgrid.cpp +++ b/samples/propgrid/propgrid.cpp @@ -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);