From 9d5f8be054e6c3289b7730935664c0baf65e4c51 Mon Sep 17 00:00:00 2001 From: jrxx Date: Mon, 17 Jan 2011 16:04:20 -0600 Subject: Add SCI_SETMARGINCURSORN and SCI_GETMARGINCURSORN. --- win32/ScintillaWin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32') diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 603e9b6f8..d4d3b24da 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -785,7 +785,7 @@ sptr_t ScintillaWin::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam ::GetCursorPos(&pt); ::ScreenToClient(MainHWND(), &pt); if (PointInSelMargin(Point(pt.x, pt.y))) { - DisplayCursor(Window::cursorReverseArrow); + DisplayCursor(GetMarginCursor(Point(pt.x, pt.y))); } else if (PointInSelection(Point(pt.x, pt.y)) && !SelectionEmpty()) { DisplayCursor(Window::cursorArrow); } else if (PointIsHotspot(Point(pt.x, pt.y))) { -- cgit v1.2.3