]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/ScintillaWX.cpp
use popen() instead of wxExecute(), it works inside wxYield() unlike the latter
[wxWidgets.git] / src / stc / ScintillaWX.cpp
index 427a83e6bd689db728cf85d7b50e0aa6c7b3409a..565bfabb2c41b0830829a5a0b9bbcd14cdfc5783 100644 (file)
 #include "PlatWX.h"
 #include <wx/textbuf.h>
 
+#ifdef __WXMSW__
+    // GetHwndOf()
+    #include <wx/msw/private.h>
+#endif
+
 //----------------------------------------------------------------------
 // Helper classes
 
@@ -841,7 +846,7 @@ int  ScintillaWX::DoKeyDown(const wxKeyEvent& evt, bool* consumed)
     bool shift = evt.ShiftDown(),
          ctrl  = evt.ControlDown(),
          alt   = evt.AltDown();
+
     if (ctrl && key >= 1 && key <= 26)
         key += 'A' - 1;