To prevent wxPropertyGrid from stealing frocus from other controls, only let SetFocusOnCanvas() move focus to the main grid 'canvas' if focus was already in on the grid's child controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2238,6 +2238,8 @@ protected:
|
||||
unsigned int selFlags = wxPG_SEL_NOVALIDATE,
|
||||
unsigned int column = 1 );
|
||||
|
||||
// This function only moves focus to the wxPropertyGrid if it already
|
||||
// was on one of its child controls.
|
||||
void SetFocusOnCanvas();
|
||||
|
||||
bool DoHideProperty( wxPGProperty* p, bool hide, int flags );
|
||||
|
Reference in New Issue
Block a user