aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2003-03-30 00:50:50 +0000
committernyamatongwe <unknown>2003-03-30 00:50:50 +0000
commitafd051d22aacb1dd1f502929e029ed89afe1beaa (patch)
tree75a4748d6307755960f8b69c4bf001ebfae06669 /win32/PlatWin.cxx
parent4280d26bd57c1af6fd4f0a66145ce771dbe426dd (diff)
downloadscintilla-mirror-afd051d22aacb1dd1f502929e029ed89afe1beaa.tar.gz
Make IDC_HAND visible with old build environments.
Avoid calling ::IsChild when wParam 0 to avoid BoundsChecker warning.
Diffstat (limited to 'win32/PlatWin.cxx')
-rw-r--r--win32/PlatWin.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx
index 2d51b4023..ffa9b81ef 100644
--- a/win32/PlatWin.cxx
+++ b/win32/PlatWin.cxx
@@ -23,6 +23,10 @@
#include "UniConversion.h"
#include "XPM.h"
+#ifndef IDC_HAND
+#define IDC_HAND MAKEINTRESOURCE(32649)
+#endif
+
// Take care of 32/64 bit pointers
#ifdef GetWindowLongPtr
static void *PointerFromWindow(HWND hWnd) {