tMake tab controls work again on non-Unicode Win32 systems; make a similar cosmetic change to header controls for consistency. - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 1a60f851b0888cd4c1fe4242d39a8de48ffc6fb2
(DIR) parent dca625d6b5ee3b6b60fdb8a266a60279be66d913
(HTM) Author: Ben Webb <ben@salilab.org>
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(-)
---
(DIR) 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_ITEM *phdi)
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_ITEM *pitem)
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;