From 249b31b53b6a91bbd2c9f4e2b56355753f6525c9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Tue, 1 Mar 2005 11:43:52 +0000 Subject: [PATCH] Missing header. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/stc/ScintillaWX.cpp | 7 ++++++- src/stc/ScintillaWX.cpp | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/contrib/src/stc/ScintillaWX.cpp b/contrib/src/stc/ScintillaWX.cpp index 427a83e6bd..565bfabb2c 100644 --- a/contrib/src/stc/ScintillaWX.cpp +++ b/contrib/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; 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; -- 2.50.0