From 6c7a75a1015d4f901eed53dfc612deaf042b62ba Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 3 Mar 2004 23:28:14 +0000 Subject: [PATCH] use hide_or_show_cursor() instead of ShowCursor() --- panda/src/windisplay/winGraphicsWindow.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panda/src/windisplay/winGraphicsWindow.cxx b/panda/src/windisplay/winGraphicsWindow.cxx index 6bb0f0dbd8..ab1716e877 100644 --- a/panda/src/windisplay/winGraphicsWindow.cxx +++ b/panda/src/windisplay/winGraphicsWindow.cxx @@ -740,7 +740,7 @@ window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) { if(!_properties.get_cursor_hidden()) { if(!_bCursor_in_WindowClientArea) { // SetCursor(_pParentWindowGroup->_hMouseCursor); - ShowCursor(true); + hide_or_show_cursor(false); _bCursor_in_WindowClientArea=true; } } @@ -749,7 +749,7 @@ window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) { case WM_NCMOUSELEAVE: { if(!_properties.get_cursor_hidden()) { - ShowCursor(false); + hide_or_show_cursor(true); // SetCursor(NULL); _bCursor_in_WindowClientArea=false; }