comctl32/rebar: Use wide string literals.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2020-05-01 18:42:01 +03:00 committed by Alexandre Julliard
parent 202c717613
commit 4a0c440d30
1 changed files with 2 additions and 4 deletions

View File

@ -302,8 +302,7 @@ static const char * const band_maskname[] = {
"RBBIM_CHEVRONSTATE", /* 0x00002000 */
NULL };
static const WCHAR themeClass[] = { 'R','e','b','a','r',0 };
static const WCHAR themeClass[] = L"Rebar";
static CHAR *
REBAR_FmtStyle(char *buffer, UINT style)
@ -1010,7 +1009,6 @@ REBAR_ForceResize (REBAR_INFO *infoPtr)
static VOID
REBAR_MoveChildWindows (const REBAR_INFO *infoPtr, UINT start, UINT endplus)
{
static const WCHAR strComboBox[] = { 'C','o','m','b','o','B','o','x',0 };
REBAR_BAND *lpBand;
WCHAR szClassName[40];
UINT i;
@ -1047,7 +1045,7 @@ REBAR_MoveChildWindows (const REBAR_INFO *infoPtr, UINT start, UINT endplus)
}
GetClassNameW (lpBand->hwndChild, szClassName, ARRAY_SIZE(szClassName));
if (!lstrcmpW (szClassName, strComboBox) ||
if (!lstrcmpW (szClassName, WC_COMBOBOXW) ||
!lstrcmpW (szClassName, WC_COMBOBOXEXW)) {
INT nEditHeight, yPos;
RECT rc;