comctl32/tab: 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:
parent
30db9fa830
commit
2bd02f9aae
|
@ -152,7 +152,7 @@ typedef struct
|
|||
#define TAB_HOTTRACK_TIMER 1
|
||||
#define TAB_HOTTRACK_TIMER_INTERVAL 100 /* milliseconds */
|
||||
|
||||
static const WCHAR themeClass[] = { 'T','a','b',0 };
|
||||
static const WCHAR themeClass[] = L"Tab";
|
||||
|
||||
static inline TAB_ITEM* TAB_GetItem(const TAB_INFO *infoPtr, INT i)
|
||||
{
|
||||
|
@ -1013,7 +1013,6 @@ static void TAB_SetupScrolling(
|
|||
TAB_INFO* infoPtr,
|
||||
const RECT* clientRect)
|
||||
{
|
||||
static const WCHAR emptyW[] = { 0 };
|
||||
INT maxRange = 0;
|
||||
|
||||
if (infoPtr->needsScrolling)
|
||||
|
@ -1044,7 +1043,7 @@ static void TAB_SetupScrolling(
|
|||
*/
|
||||
if (infoPtr->hwndUpDown==0)
|
||||
{
|
||||
infoPtr->hwndUpDown = CreateWindowW(UPDOWN_CLASSW, emptyW,
|
||||
infoPtr->hwndUpDown = CreateWindowW(UPDOWN_CLASSW, L"",
|
||||
WS_VISIBLE | WS_CHILD | UDS_HORZ,
|
||||
controlPos.left, controlPos.top,
|
||||
controlPos.right - controlPos.left,
|
||||
|
|
Loading…
Reference in New Issue