Missing header.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-03-01 11:43:52 +00:00
parent 5e0526df03
commit 249b31b53b
2 changed files with 12 additions and 2 deletions

View File

@@ -21,6 +21,11 @@
#include "PlatWX.h" #include "PlatWX.h"
#include <wx/textbuf.h> #include <wx/textbuf.h>
#ifdef __WXMSW__
// GetHwndOf()
#include <wx/msw/private.h>
#endif
//---------------------------------------------------------------------- //----------------------------------------------------------------------
// Helper classes // Helper classes
@@ -841,7 +846,7 @@ int ScintillaWX::DoKeyDown(const wxKeyEvent& evt, bool* consumed)
bool shift = evt.ShiftDown(), bool shift = evt.ShiftDown(),
ctrl = evt.ControlDown(), ctrl = evt.ControlDown(),
alt = evt.AltDown(); alt = evt.AltDown();
if (ctrl && key >= 1 && key <= 26) if (ctrl && key >= 1 && key <= 26)
key += 'A' - 1; key += 'A' - 1;

View File

@@ -21,6 +21,11 @@
#include "PlatWX.h" #include "PlatWX.h"
#include <wx/textbuf.h> #include <wx/textbuf.h>
#ifdef __WXMSW__
// GetHwndOf()
#include <wx/msw/private.h>
#endif
//---------------------------------------------------------------------- //----------------------------------------------------------------------
// Helper classes // Helper classes
@@ -841,7 +846,7 @@ int ScintillaWX::DoKeyDown(const wxKeyEvent& evt, bool* consumed)
bool shift = evt.ShiftDown(), bool shift = evt.ShiftDown(),
ctrl = evt.ControlDown(), ctrl = evt.ControlDown(),
alt = evt.AltDown(); alt = evt.AltDown();
if (ctrl && key >= 1 && key <= 26) if (ctrl && key >= 1 && key <= 26)
key += 'A' - 1; key += 'A' - 1;