aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2000-10-05 12:20:59 +0000
committernyamatongwe <devnull@localhost>2000-10-05 12:20:59 +0000
commit2ca50cc7e4f1f901eeefd87f0417e353d076b457 (patch)
treec80e2b4a5f9c9c89f72fed1ea652a39d45457510 /win32
parent9a01d2bdda91768a75e58a8e0a87b74b71d4e003 (diff)
downloadscintilla-mirror-2ca50cc7e4f1f901eeefd87f0417e353d076b457.tar.gz
SetCursor implemented.
Diffstat (limited to 'win32')
-rw-r--r--win32/ScintillaWin.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx
index dc245c705..17206906b 100644
--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -452,18 +452,18 @@ LRESULT ScintillaWin::WndProc(unsigned int iMessage, unsigned long wParam, long
case WM_SETCURSOR:
if (LoWord(lParam) == HTCLIENT) {
if (inDragDrop) {
- wDraw.SetCursor(Window::cursorUp);
+ DisplayCursor(Window::cursorUp);
} else {
// Display regular (drag) cursor over selection
POINT pt;
::GetCursorPos(&pt);
::ScreenToClient(wMain.GetID(), &pt);
if (PointInSelMargin(Point(pt.x, pt.y))) {
- wDraw.SetCursor(Window::cursorReverseArrow);
+ DisplayCursor(Window::cursorReverseArrow);
} else if (PointInSelection(Point(pt.x, pt.y))) {
- wDraw.SetCursor(Window::cursorArrow);
+ DisplayCursor(Window::cursorArrow);
} else {
- wDraw.SetCursor(Window::cursorText);
+ DisplayCursor(Window::cursorText);
}
}
return TRUE;