diff options
| author | nyamatongwe <unknown> | 2000-10-05 12:20:59 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2000-10-05 12:20:59 +0000 | 
| commit | a2bc00fb8619d2a130500cfcfb458fa2f87c7ca9 (patch) | |
| tree | c80e2b4a5f9c9c89f72fed1ea652a39d45457510 /win32 | |
| parent | 64b89c25354dba83c93e8c05150d6db39f6219da (diff) | |
| download | scintilla-mirror-a2bc00fb8619d2a130500cfcfb458fa2f87c7ca9.tar.gz | |
SetCursor implemented.
Diffstat (limited to 'win32')
| -rw-r--r-- | win32/ScintillaWin.cxx | 8 | 
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; | 
