X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5aa6ea933f515a1afa9b97b23e353f2eae54764c..8bd410eb8082d9e009ece7cc279faa5f73ea1f5e:/src/osx/textctrl_osx.cpp diff --git a/src/osx/textctrl_osx.cpp b/src/osx/textctrl_osx.cpp index af08390bfa..4262ff2301 100644 --- a/src/osx/textctrl_osx.cpp +++ b/src/osx/textctrl_osx.cpp @@ -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() ) {