mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-04 04:48:40 +00:00
remove unnecessary window class styles
This commit is contained in:
@@ -650,7 +650,6 @@ w32_wnd_proc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
result = DefWindowProcW(hwnd, uMsg, wParam, -1);
|
result = DefWindowProcW(hwnd, uMsg, wParam, -1);
|
||||||
result = 1;
|
|
||||||
}
|
}
|
||||||
}break;
|
}break;
|
||||||
|
|
||||||
@@ -847,7 +846,6 @@ os_graphical_init(void)
|
|||||||
wndclass.lpszClassName = L"graphical-window";
|
wndclass.lpszClassName = L"graphical-window";
|
||||||
wndclass.hCursor = LoadCursorA(0, IDC_ARROW);
|
wndclass.hCursor = LoadCursorA(0, IDC_ARROW);
|
||||||
wndclass.hIcon = LoadIcon(w32_h_instance, MAKEINTRESOURCE(1));
|
wndclass.hIcon = LoadIcon(w32_h_instance, MAKEINTRESOURCE(1));
|
||||||
wndclass.style = CS_HREDRAW|CS_VREDRAW|CS_OWNDC|CS_DBLCLKS;
|
|
||||||
ATOM wndatom = RegisterClassExW(&wndclass);
|
ATOM wndatom = RegisterClassExW(&wndclass);
|
||||||
(void)wndatom;
|
(void)wndatom;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user