avoiding catching incorrect shortcuts, see #11676
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -344,7 +344,7 @@ void wxTextCtrl::OnDropFiles(wxDropFilesEvent& event)
|
||||
|
||||
void wxTextCtrl::OnKeyDown(wxKeyEvent& event)
|
||||
{
|
||||
if ( event.MetaDown() )
|
||||
if ( event.GetModifiers() == wxMOD_CMD )
|
||||
{
|
||||
switch( event.GetKeyCode() )
|
||||
{
|
||||
|
Reference in New Issue
Block a user