X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/21334a4689c5329c597a93cbe943cf2ac6772db9..ede3a6d68af66772b4f5f94208b4126bab566cc8:/src/stc/ScintillaWX.cpp diff --git a/src/stc/ScintillaWX.cpp b/src/stc/ScintillaWX.cpp index 427a83e6bd..565bfabb2c 100644 --- a/src/stc/ScintillaWX.cpp +++ b/src/stc/ScintillaWX.cpp @@ -21,6 +21,11 @@ #include "PlatWX.h" #include +#ifdef __WXMSW__ + // GetHwndOf() + #include +#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;