aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'win32/PlatWin.cxx')
-rw-r--r--win32/PlatWin.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx
index a5b632379..9befd3f78 100644
--- a/win32/PlatWin.cxx
+++ b/win32/PlatWin.cxx
@@ -723,9 +723,6 @@ void Window::SetCursor(Cursor curs) {
case cursorText:
::SetCursor(::LoadCursor(NULL,IDC_IBEAM));
break;
- case cursorArrow:
- ::SetCursor(::LoadCursor(NULL,IDC_ARROW));
- break;
case cursorUp:
::SetCursor(::LoadCursor(NULL,IDC_UPARROW));
break;
@@ -748,6 +745,10 @@ void Window::SetCursor(Cursor curs) {
::SetCursor(::LoadCursor(hinstPlatformRes, MAKEINTRESOURCE(IDC_MARGIN)));
}
break;
+ case cursorArrow:
+ case cursorInvalid: // Should not occur, but just in case.
+ ::SetCursor(::LoadCursor(NULL,IDC_ARROW));
+ break;
}
}