mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
- Fix mixing apples and widgets.
svn path=/trunk/; revision=69550
This commit is contained in:
@@ -858,7 +858,7 @@ SetKeyboardLayoutName(HWND hwnd)
|
||||
static BOOL
|
||||
RunControlPanelApplet(HWND hwnd, PCWSTR pwszCPLParameters)
|
||||
{
|
||||
MSG msg;
|
||||
MSG msg;
|
||||
if (pwszCPLParameters)
|
||||
{
|
||||
STARTUPINFOW StartupInfo;
|
||||
@@ -888,10 +888,10 @@ RunControlPanelApplet(HWND hwnd, PCWSTR pwszCPLParameters)
|
||||
|
||||
while((MsgWaitForMultipleObjects(1, ProcessInformation.hProcess, FALSE, INFINITE, QS_ALLINPUT|QS_ALLPOSTMESSAGE )) != WAIT_OBJECT_0)
|
||||
{
|
||||
while(PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
|
||||
while(PeekMessageW(&msg, NULL, 0, 0, PM_REMOVE))
|
||||
{
|
||||
TranslateMessage(&msg);
|
||||
DispatchMessage(&msg);
|
||||
DispatchMessageW(&msg);
|
||||
}
|
||||
}
|
||||
CloseHandle(ProcessInformation.hThread);
|
||||
|
||||
Reference in New Issue
Block a user