diff --git a/interface/wx/combobox.h b/interface/wx/combobox.h index d6728a7efa..7c67126551 100644 --- a/interface/wx/combobox.h +++ b/interface/wx/combobox.h @@ -41,9 +41,13 @@ Sorts the entries in the list alphabetically. Notice that this style is not currently implemented in wxOSX. @style{wxTE_PROCESS_ENTER} - The control will generate the event @c wxEVT_TEXT_ENTER - (otherwise pressing Enter key is either processed internally by the - control or used for navigation between dialog controls). + The control will generate the event @c wxEVT_TEXT_ENTER that can be + handled by the program. Otherwise, i.e. either if this style not + specified at all, or it is used, but there is no event handler for + this event or the event handler called wxEvent::Skip() to avoid + overriding the default handling, pressing Enter key is either + processed internally by the control or used to activate the default + button of the dialog, if any. @endStyleTable @beginEventEmissionTable{wxCommandEvent} diff --git a/interface/wx/textctrl.h b/interface/wx/textctrl.h index a0b6b7464f..0495cb1393 100644 --- a/interface/wx/textctrl.h +++ b/interface/wx/textctrl.h @@ -941,9 +941,13 @@ public: @beginStyleTable @style{wxTE_PROCESS_ENTER} - The control will generate the event @c wxEVT_TEXT_ENTER - (otherwise pressing Enter key is either processed internally by the - control or used to activate the default button of the dialog, if any). + The control will generate the event @c wxEVT_TEXT_ENTER that can be + handled by the program. Otherwise, i.e. either if this style not + specified at all, or it is used, but there is no event handler for + this event or the event handler called wxEvent::Skip() to avoid + overriding the default handling, pressing Enter key is either + processed internally by the control or used to activate the default + button of the dialog, if any. @style{wxTE_PROCESS_TAB} Normally, TAB key is used for keyboard navigation and pressing it in a control switches focus to the next one. With this style, this