From f308529c52ace438d659f249281221937ab79a5f Mon Sep 17 00:00:00 2001 From: Jim Mathies Date: Tue, 24 Aug 2010 23:05:11 -0500 Subject: [PATCH] Bug 575870 - SeaMonkey bustage fix, explicit use of unicode version of CreateWindowEx. --- widget/src/windows/nsUXThemeData.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/widget/src/windows/nsUXThemeData.cpp b/widget/src/windows/nsUXThemeData.cpp index adf90a0837..4f39d46067 100644 --- a/widget/src/windows/nsUXThemeData.cpp +++ b/widget/src/windows/nsUXThemeData.cpp @@ -302,11 +302,11 @@ nsUXThemeData::UpdateTitlebarInfo(HWND aWnd) // keeps the window from showing up on the desktop or the taskbar. // Note the parent (browser) window is usually still hidden, we // don't want to display it, so we can't query it directly. - HWND hWnd = CreateWindowEx(WS_EX_NOACTIVATE|WS_EX_LAYERED, - kClassNameTemp, L"", - WS_OVERLAPPEDWINDOW, - 0, 0, 0, 0, aWnd, NULL, - nsToolkit::mDllInstance, NULL); + HWND hWnd = CreateWindowExW(WS_EX_NOACTIVATE|WS_EX_LAYERED, + kClassNameTemp, L"", + WS_OVERLAPPEDWINDOW, + 0, 0, 0, 0, aWnd, NULL, + nsToolkit::mDllInstance, NULL); NS_ASSERTION(hWnd, "UpdateTitlebarInfo window creation failed."); ShowWindow(hWnd, SW_SHOW); -- 2.11.4.GIT