Unfocus text editor when enter is pressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -102,6 +102,12 @@ public:
|
||||
/**
|
||||
Handles events. Returns @true if value in control was modified
|
||||
(see wxPGProperty::OnEvent() for more information).
|
||||
|
||||
@remarks wxPropertyGrid will automatically unfocus the editor when
|
||||
wxEVT_COMMAND_TEXT_ENTER is received and when it results in
|
||||
property value being modified. This happens regardless of
|
||||
editor type (ie. behavior is same for any wxTextCtrl and
|
||||
wxComboBox based editor).
|
||||
*/
|
||||
virtual bool OnEvent( wxPropertyGrid* propgrid, wxPGProperty* property,
|
||||
wxWindow* wnd_primary, wxEvent& event ) const = 0;
|
||||
|
Reference in New Issue
Block a user