Whoops - a default cursor is kind of important.
This commit is contained in:
parent
9b86132fd0
commit
976a317293
|
@ -57,7 +57,7 @@ bool Win32Window::OnCreate() {
|
||||||
wcex.hInstance = hInstance;
|
wcex.hInstance = hInstance;
|
||||||
wcex.hIcon = LoadIcon(hInstance, L"MAINICON");
|
wcex.hIcon = LoadIcon(hInstance, L"MAINICON");
|
||||||
wcex.hIconSm = LoadIcon(hInstance, L"MAINICON");
|
wcex.hIconSm = LoadIcon(hInstance, L"MAINICON");
|
||||||
wcex.hCursor = nullptr;
|
wcex.hCursor = LoadCursor(nullptr, IDC_ARROW);
|
||||||
wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1);
|
wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1);
|
||||||
wcex.lpszMenuName = nullptr;
|
wcex.lpszMenuName = nullptr;
|
||||||
wcex.lpszClassName = L"XeniaWindowClass";
|
wcex.lpszClassName = L"XeniaWindowClass";
|
||||||
|
|
Loading…
Reference in New Issue