Added wxPG_ACTION_EDIT, which allows specifying custom key to move focus to the property editor. Also documented wxPG_ACTION_FOOs better.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -5687,6 +5687,12 @@ void wxPropertyGrid::HandleKeyEvent( wxKeyEvent &event, bool fromChild )
|
||||
|
||||
wxPGProperty* p = selected;
|
||||
|
||||
if ( action == wxPG_ACTION_EDIT && !editorFocused )
|
||||
{
|
||||
DoSelectProperty( p, wxPG_SEL_FOCUS );
|
||||
wasHandled = true;
|
||||
}
|
||||
|
||||
// Travel and expand/collapse
|
||||
int selectDir = -2;
|
||||
|
||||
|
Reference in New Issue
Block a user