diff options
author | George Hazan <ghazan@miranda.im> | 2021-12-26 15:13:30 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-12-26 15:13:30 +0300 |
commit | d7e53c4d5a748d5ef8c934e90dc59ff23c667420 (patch) | |
tree | 2b0c16de953e182321a0314b6ce3b909f428731f /plugins/NewAwaySysMod/src/GroupCheckbox.cpp | |
parent | 129687d805025b4e292174ffb3d224a55baf24d2 (diff) |
WCHAR -> wchar_t
Diffstat (limited to 'plugins/NewAwaySysMod/src/GroupCheckbox.cpp')
-rw-r--r-- | plugins/NewAwaySysMod/src/GroupCheckbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewAwaySysMod/src/GroupCheckbox.cpp b/plugins/NewAwaySysMod/src/GroupCheckbox.cpp index 8fda499b09..d73f7acd4d 100644 --- a/plugins/NewAwaySysMod/src/GroupCheckbox.cpp +++ b/plugins/NewAwaySysMod/src/GroupCheckbox.cpp @@ -88,7 +88,7 @@ static int CALLBACK CheckboxWndProc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM l HFONT hOldFont = (HFONT)SelectObject(hdc, dat->hFont);
RECT rcText = { 0 };
if (hTheme) {
- WCHAR *szText = (WCHAR*)_alloca(Len * sizeof(WCHAR));
+ wchar_t *szText = (wchar_t*)_alloca(Len * sizeof(wchar_t));
GetWindowTextW(hWnd, szText, Len);
GetThemeTextExtent(hTheme, hdc, BP_GROUPBOX, IsWindowEnabled(hWnd) ? GBS_NORMAL : GBS_DISABLED, szText, -1, DT_CALCRECT | DT_LEFT | DT_VCENTER | DT_SINGLELINE, nullptr, &rcText);
}
|