Added work around in wxPropertyGrid for a wxTextCtrl beep on enter press
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7fe5c04d6a
commit
d2a82a6f7d
1 changed files with 7 additions and 0 deletions
|
|
@ -3731,6 +3731,13 @@ private:
|
|||
|
||||
m_propGrid->HandleCustomEditorEvent(event);
|
||||
|
||||
//
|
||||
// NB: On wxMSW, a wxTextCtrl with wxTE_PROCESS_ENTER
|
||||
// may beep annoyingly if that event is skipped
|
||||
// and passed to parent event handler.
|
||||
if ( event.GetEventType() == wxEVT_COMMAND_TEXT_ENTER )
|
||||
return true;
|
||||
|
||||
return wxEvtHandler::ProcessEvent(event);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue