mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 06:36:42 +00:00
- Fix mixing apples and widgets.
svn path=/trunk/; revision=69550
This commit is contained in:
parent
3ac3b979bb
commit
d3334b7fd6
1 changed files with 3 additions and 3 deletions
|
@ -858,7 +858,7 @@ SetKeyboardLayoutName(HWND hwnd)
|
||||||
static BOOL
|
static BOOL
|
||||||
RunControlPanelApplet(HWND hwnd, PCWSTR pwszCPLParameters)
|
RunControlPanelApplet(HWND hwnd, PCWSTR pwszCPLParameters)
|
||||||
{
|
{
|
||||||
MSG msg;
|
MSG msg;
|
||||||
if (pwszCPLParameters)
|
if (pwszCPLParameters)
|
||||||
{
|
{
|
||||||
STARTUPINFOW StartupInfo;
|
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((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);
|
TranslateMessage(&msg);
|
||||||
DispatchMessage(&msg);
|
DispatchMessageW(&msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
CloseHandle(ProcessInformation.hThread);
|
CloseHandle(ProcessInformation.hThread);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue