Fixed a simple typo. IT WORKS! Also shortened one of the debug log messages.
This commit is contained in:
parent
1f90366edd
commit
e90da765e3
|
@ -74,7 +74,7 @@ static BOOL shouldRun(HWND hwnd, T method)
|
||||||
if (IsChild(utilWindow, hwnd) != 0)
|
if (IsChild(utilWindow, hwnd) != 0)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
// registered?
|
// registered?
|
||||||
return method == NULL;
|
return method != NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL runWM_COMMAND(WPARAM wParam, LPARAM lParam, LRESULT *lResult)
|
BOOL runWM_COMMAND(WPARAM wParam, LPARAM lParam, LRESULT *lResult)
|
||||||
|
|
|
@ -87,7 +87,7 @@ void uiWindowsEnsureDestroyWindow(HWND hwnd)
|
||||||
void uiWindowsEnsureSetParent(HWND hwnd, HWND parent)
|
void uiWindowsEnsureSetParent(HWND hwnd, HWND parent)
|
||||||
{
|
{
|
||||||
if (SetParent(hwnd, parent) == 0)
|
if (SetParent(hwnd, parent) == 0)
|
||||||
logLastError(L"error setting window parent in uiWindowsEnsureSetParent");
|
logLastError(L"error setting window parent");
|
||||||
}
|
}
|
||||||
|
|
||||||
void uiWindowsEnsureAssignControlIDZOrder(HWND hwnd, LONG_PTR controlID, HWND insertAfter)
|
void uiWindowsEnsureAssignControlIDZOrder(HWND hwnd, LONG_PTR controlID, HWND insertAfter)
|
||||||
|
|
Loading…
Reference in New Issue