From 6ac11ae63be462186efa08da95e56558ed06794d Mon Sep 17 00:00:00 2001 From: George ElKoura Date: Sat, 18 Apr 2015 00:45:02 -0700 Subject: [PATCH] Fixed a bug in the display of the dxViewer cursor Make sure to initialize the cursor of the window class in dxViewer as required. --- examples/dxViewer/dxviewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/dxViewer/dxviewer.cpp b/examples/dxViewer/dxviewer.cpp index 310da9d7..d69fbb59 100644 --- a/examples/dxViewer/dxviewer.cpp +++ b/examples/dxViewer/dxviewer.cpp @@ -1472,7 +1472,7 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmd wcex.cbWndExtra = 0; wcex.hInstance = hInstance; wcex.hIcon = NULL; - wcex.hCursor = NULL; + wcex.hCursor = LoadCursor(NULL, IDC_ARROW); wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1); wcex.lpszMenuName = NULL; wcex.lpszClassName = szWindowClass;