diff options
Diffstat (limited to 'win32/ScintillaWin.cxx')
-rw-r--r-- | win32/ScintillaWin.cxx | 41 |
1 files changed, 2 insertions, 39 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 471adea7c..c0b31866f 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -32,9 +32,9 @@ #define NOMINMAX #endif #undef _WIN32_WINNT -#define _WIN32_WINNT 0x0500 +#define _WIN32_WINNT 0x0A00 #undef WINVER -#define WINVER 0x0500 +#define WINVER 0x0A00 #define WIN32_LEAN_AND_MEAN 1 #include <windows.h> #include <commctrl.h> @@ -98,37 +98,6 @@ #include "HanjaDic.h" #include "ScintillaWin.h" -#ifndef SPI_GETWHEELSCROLLLINES -#define SPI_GETWHEELSCROLLLINES 104 -#endif - -#ifndef WM_UNICHAR -#define WM_UNICHAR 0x0109 -#endif - -#ifndef WM_DPICHANGED -#define WM_DPICHANGED 0x02E0 -#endif -#ifndef WM_DPICHANGED_AFTERPARENT -#define WM_DPICHANGED_AFTERPARENT 0x02E3 -#endif - -#ifndef UNICODE_NOCHAR -#define UNICODE_NOCHAR 0xFFFF -#endif - -#ifndef IS_HIGH_SURROGATE -#define IS_HIGH_SURROGATE(x) ((x) >= SURROGATE_LEAD_FIRST && (x) <= SURROGATE_LEAD_LAST) -#endif - -#ifndef IS_LOW_SURROGATE -#define IS_LOW_SURROGATE(x) ((x) >= SURROGATE_TRAIL_FIRST && (x) <= SURROGATE_TRAIL_LAST) -#endif - -#ifndef MK_ALT -#define MK_ALT 32 -#endif - namespace { // Two idle messages SC_WIN_IDLE and SC_WORK_IDLE. @@ -146,12 +115,6 @@ constexpr int IndicatorTarget = IndicatorInput + 1; constexpr int IndicatorConverted = IndicatorInput + 2; constexpr int IndicatorUnknown = IndicatorInput + 3; -#ifndef SCS_CAP_SETRECONVERTSTRING -#define SCS_CAP_SETRECONVERTSTRING 0x00000004 -#define SCS_QUERYRECONVERTSTRING 0x00020000 -#define SCS_SETRECONVERTSTRING 0x00010000 -#endif - typedef UINT_PTR (WINAPI *SetCoalescableTimerSig)(HWND hwnd, UINT_PTR nIDEvent, UINT uElapse, TIMERPROC lpTimerFunc, ULONG uToleranceDelay); |