Missing header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user