mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Change console class name for Windows compatibility.
Thanks to tonik <spammed@fromru.com> for reporting and providing the correct name. Fixes bug 462. svn path=/trunk/; revision=12893
This commit is contained in:
parent
ec137eeb0e
commit
c7d2525d45
1 changed files with 2 additions and 2 deletions
|
@ -802,7 +802,7 @@ GuiConsoleNotifyWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||||
SetWindowLongW(hWnd, GWL_USERDATA, 0);
|
SetWindowLongW(hWnd, GWL_USERDATA, 0);
|
||||||
return 0;
|
return 0;
|
||||||
case PM_CREATE_CONSOLE:
|
case PM_CREATE_CONSOLE:
|
||||||
NewWindow = CreateWindowW(L"Win32CsrConsole",
|
NewWindow = CreateWindowW(L"ConsoleWindowClass",
|
||||||
Console->Title.Buffer,
|
Console->Title.Buffer,
|
||||||
WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX,
|
WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX,
|
||||||
CW_USEDEFAULT,
|
CW_USEDEFAULT,
|
||||||
|
@ -911,7 +911,7 @@ GuiInit(VOID)
|
||||||
}
|
}
|
||||||
|
|
||||||
wc.cbSize = sizeof(WNDCLASSEXW);
|
wc.cbSize = sizeof(WNDCLASSEXW);
|
||||||
wc.lpszClassName = L"Win32CsrConsole";
|
wc.lpszClassName = L"ConsoleWindowClass";
|
||||||
wc.lpfnWndProc = GuiConsoleWndProc;
|
wc.lpfnWndProc = GuiConsoleWndProc;
|
||||||
wc.style = 0;
|
wc.style = 0;
|
||||||
wc.hInstance = (HINSTANCE) GetModuleHandleW(NULL);
|
wc.hInstance = (HINSTANCE) GetModuleHandleW(NULL);
|
||||||
|
|
Loading…
Reference in a new issue