From 04824adf1b072480d7e45b816ecfbc7803358ff2 Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Mon, 16 Apr 2001 21:25:03 +0000 Subject: [PATCH] switch cursor to arrow --- panda/src/wdxdisplay/wdxGraphicsWindow.cxx | 4 ++-- panda/src/wgldisplay/wglGraphicsPipe.cxx | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/panda/src/wdxdisplay/wdxGraphicsWindow.cxx b/panda/src/wdxdisplay/wdxGraphicsWindow.cxx index edea6974cd..60087ccc67 100644 --- a/panda/src/wdxdisplay/wdxGraphicsWindow.cxx +++ b/panda/src/wdxdisplay/wdxGraphicsWindow.cxx @@ -245,7 +245,7 @@ window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) { switch(msg) { case WM_CREATE: - _hMouseCrossIcon = LoadCursor(NULL, IDC_CROSS); + _hMouseCrossIcon = LoadCursor(NULL, IDC_ARROW); SetCursor(_hMouseCrossIcon); // atexit(AtExitFn); _gsg ptr seems to be bogus in AtExitFn for esc-press if you do this // to enable this, need to delete call to AtExitFn from under GetMessage loop @@ -579,7 +579,7 @@ void wdxGraphicsWindow::config(void) { wc.hIcon = NULL; // use default app icon } - wc.hCursor = LoadCursor(NULL, IDC_CROSS); + wc.hCursor = LoadCursor(NULL, IDC_ARROW); wc.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH); wc.lpszMenuName = NULL; wc.lpszClassName = "wdxDisplay"; diff --git a/panda/src/wgldisplay/wglGraphicsPipe.cxx b/panda/src/wgldisplay/wglGraphicsPipe.cxx index b6ec71da2f..d9b00d40fd 100644 --- a/panda/src/wgldisplay/wglGraphicsPipe.cxx +++ b/panda/src/wgldisplay/wglGraphicsPipe.cxx @@ -33,7 +33,7 @@ wglGraphicsPipe::wglGraphicsPipe(const PipeSpecifier& spec) wc.style = CS_OWNDC; wc.lpfnWndProc = (WNDPROC)static_window_proc; wc.hInstance = hinstance; - wc.hCursor = LoadCursor(NULL, IDC_CROSS); + wc.hCursor = LoadCursor(NULL, IDC_ARROW); wc.hbrBackground = NULL; wc.lpszMenuName = NULL; wc.lpszClassName = "wglStandard"; @@ -167,7 +167,7 @@ window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) { switch (msg) { case WM_CREATE: - hMouseCrossIcon = LoadCursor(NULL, IDC_CROSS); + hMouseCrossIcon = LoadCursor(NULL, IDC_ARROW); SetCursor(hMouseCrossIcon); return 0; case WM_CLOSE: @@ -280,7 +280,7 @@ window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) { return DefWindowProc(hwnd, msg, wparam, lparam); window = find_window(hwnd); if (window) { - SetCursor(LoadCursor(NULL, IDC_CROSS)); + SetCursor(LoadCursor(NULL, IDC_ARROW)); } return 1; #endif