comctl32/tests: Finally compile with -D__WINESRC__.
This commit is contained in:
parent
4ecd867706
commit
5092ecf6fe
|
@ -1,6 +1,5 @@
|
|||
TESTDLL = comctl32.dll
|
||||
IMPORTS = comctl32 ole32 user32 gdi32 advapi32
|
||||
EXTRADEFS = -U__WINESRC__ -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS
|
||||
|
||||
C_SRCS = \
|
||||
comboex.c \
|
||||
|
|
|
@ -496,7 +496,7 @@ static BOOL init(void)
|
|||
wc.cbWndExtra = 0;
|
||||
wc.hInstance = GetModuleHandleA(NULL);
|
||||
wc.hIcon = NULL;
|
||||
wc.hCursor = LoadCursorA(NULL, IDC_ARROW);
|
||||
wc.hCursor = LoadCursorA(NULL, (LPCSTR)IDC_ARROW);
|
||||
wc.hbrBackground = GetSysColorBrush(COLOR_WINDOW);
|
||||
wc.lpszMenuName = NULL;
|
||||
wc.lpszClassName = ComboExTestClass;
|
||||
|
|
|
@ -459,7 +459,7 @@ static BOOL register_parent_wnd_class(void)
|
|||
cls.cbWndExtra = 0;
|
||||
cls.hInstance = GetModuleHandleA(NULL);
|
||||
cls.hIcon = 0;
|
||||
cls.hCursor = LoadCursorA(0, IDC_ARROW);
|
||||
cls.hCursor = LoadCursorA(0, (LPCSTR)IDC_ARROW);
|
||||
cls.hbrBackground = GetStockObject(WHITE_BRUSH);
|
||||
cls.lpszMenuName = NULL;
|
||||
cls.lpszClassName = "Header test parent class";
|
||||
|
@ -1661,7 +1661,7 @@ static BOOL init(void)
|
|||
wc.cbWndExtra = 0;
|
||||
wc.hInstance = GetModuleHandleA(NULL);
|
||||
wc.hIcon = NULL;
|
||||
wc.hCursor = LoadCursorA(NULL, IDC_ARROW);
|
||||
wc.hCursor = LoadCursorA(NULL, (LPCSTR)IDC_ARROW);
|
||||
wc.hbrBackground = GetSysColorBrush(COLOR_WINDOW);
|
||||
wc.lpszMenuName = NULL;
|
||||
wc.lpszClassName = "HeaderTestClass";
|
||||
|
|
|
@ -145,8 +145,8 @@ static HWND create_a_window(void)
|
|||
cls.cbClsExtra = 0;
|
||||
cls.cbWndExtra = 0;
|
||||
cls.hInstance = 0;
|
||||
cls.hIcon = LoadIconA (0, IDI_APPLICATION);
|
||||
cls.hCursor = LoadCursorA (0, IDC_ARROW);
|
||||
cls.hIcon = LoadIconA(0, (LPCSTR)IDI_APPLICATION);
|
||||
cls.hCursor = LoadCursorA(0, (LPCSTR)IDC_ARROW);
|
||||
cls.hbrBackground = GetStockObject (WHITE_BRUSH);
|
||||
cls.lpszMenuName = 0;
|
||||
cls.lpszClassName = className;
|
||||
|
|
|
@ -524,7 +524,7 @@ static BOOL register_parent_wnd_class(BOOL Unicode)
|
|||
clsW.cbWndExtra = 0;
|
||||
clsW.hInstance = GetModuleHandleW(NULL);
|
||||
clsW.hIcon = 0;
|
||||
clsW.hCursor = LoadCursorA(0, IDC_ARROW);
|
||||
clsW.hCursor = LoadCursorA(0, (LPCSTR)IDC_ARROW);
|
||||
clsW.hbrBackground = GetStockObject(WHITE_BRUSH);
|
||||
clsW.lpszMenuName = NULL;
|
||||
clsW.lpszClassName = testparentclassW;
|
||||
|
@ -537,7 +537,7 @@ static BOOL register_parent_wnd_class(BOOL Unicode)
|
|||
clsA.cbWndExtra = 0;
|
||||
clsA.hInstance = GetModuleHandleA(NULL);
|
||||
clsA.hIcon = 0;
|
||||
clsA.hCursor = LoadCursorA(0, IDC_ARROW);
|
||||
clsA.hCursor = LoadCursorA(0, (LPCSTR)IDC_ARROW);
|
||||
clsA.hbrBackground = GetStockObject(WHITE_BRUSH);
|
||||
clsA.lpszMenuName = NULL;
|
||||
clsA.lpszClassName = "Listview test parent class";
|
||||
|
|
Loading…
Reference in New Issue