Fix missing DWORD variable (lost in merge port)
This commit is contained in:
@@ -442,6 +442,7 @@ void Win32Window::setWindowTitle(const char* titleChar)
|
|||||||
#ifdef _WIN64
|
#ifdef _WIN64
|
||||||
SetWindowText(m_data->m_hWnd, titleChar);
|
SetWindowText(m_data->m_hWnd, titleChar);
|
||||||
#else
|
#else
|
||||||
|
DWORD dwResult;
|
||||||
SendMessageTimeout(m_data->m_hWnd, WM_SETTEXT, 0,
|
SendMessageTimeout(m_data->m_hWnd, WM_SETTEXT, 0,
|
||||||
reinterpret_cast<LPARAM>(titleChar),
|
reinterpret_cast<LPARAM>(titleChar),
|
||||||
SMTO_ABORTIFHUNG, 2000, &dwResult);
|
SMTO_ABORTIFHUNG, 2000, &dwResult);
|
||||||
|
|||||||
Reference in New Issue
Block a user