X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2d5c15163a2e346c30fe3136e6668a20bab7d7d2..d5363c04ac7bfd5409b369746a67b83fd10cfdbc:/src/osx/textctrl_osx.cpp?ds=sidebyside

diff --git a/src/osx/textctrl_osx.cpp b/src/osx/textctrl_osx.cpp
index 8c2f1d83da..a49ff2cfe2 100644
--- a/src/osx/textctrl_osx.cpp
+++ b/src/osx/textctrl_osx.cpp
@@ -339,7 +339,7 @@ void wxTextCtrl::OnDropFiles(wxDropFilesEvent& event)
 
 void wxTextCtrl::OnKeyDown(wxKeyEvent& event)
 {
-    if ( event.GetModifiers() == wxMOD_CMD )
+    if ( event.GetModifiers() == wxMOD_CONTROL )
     {
         switch( event.GetKeyCode() )
         {