tMake tab controls work again on non-Unicode Win32 systems; make a similar cosm… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 1a60f851b0888cd4c1fe4242d39a8de48ffc6fb2 | |
parent dca625d6b5ee3b6b60fdb8a266a60279be66d913 | |
Author: Ben Webb <[email protected]> | |
Date: Mon, 2 Sep 2002 13:42:20 +0000 | |
Make tab controls work again on non-Unicode Win32 systems; make a similar | |
cosmetic change to header controls for consistency. | |
Diffstat: | |
M src/gtkport/unicodewrap.c | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/src/gtkport/unicodewrap.c b/src/gtkport/unicodewrap.c | |
t@@ -294,7 +294,7 @@ int myHeader_InsertItem(HWND hWnd, int index, const HD_ITE… | |
g_free(hdiw.pszText); | |
} | |
} else { | |
- retval = (int)SendMessageA(hWnd, HDM_INSERTITEM, (WPARAM)index, | |
+ retval = (int)SendMessageA(hWnd, HDM_INSERTITEMA, (WPARAM)index, | |
(LPARAM)phdi); | |
} | |
return retval; | |
t@@ -313,7 +313,7 @@ int myTabCtrl_InsertItem(HWND hWnd, int index, const TC_IT… | |
g_free(tiew.pszText); | |
} | |
} else { | |
- retval = (int)SendMessageA(hWnd, TCM_INSERTITEMW, (WPARAM)index, | |
+ retval = (int)SendMessageA(hWnd, TCM_INSERTITEMA, (WPARAM)index, | |
(LPARAM)pitem); | |
} | |
return retval; |