tEnsure that GtkCList column titles always have proper borders. - 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 aa1bd318cf3a0b39831ab03feb61c00e18eed805
(DIR) parent 193aaa4907ea76ea36eae7d104a6a204d0b18630
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Sun, 29 Sep 2002 16:00:29 +0000
Ensure that GtkCList column titles always have proper borders.
Diffstat:
M src/gtkport/clist.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/src/gtkport/clist.c b/src/gtkport/clist.c
t@@ -247,11 +247,11 @@ void gtk_clist_realize(GtkWidget *widget)
GTK_WIDGET_SET_FLAGS(widget, GTK_CAN_FOCUS);
rcParent.left = rcParent.top = 0;
rcParent.right = rcParent.bottom = 800;
- scrollwin = myCreateWindow(WC_GTKCLISTHDR, NULL,
- WS_CHILD, 0, 0, 0, 0, Parent, NULL, hInst, NULL);
+ scrollwin = myCreateWindow(WC_GTKCLISTHDR, NULL, WS_CHILD | WS_BORDER,
+ 0, 0, 0, 0, Parent, NULL, hInst, NULL);
SetWindowLong(scrollwin, GWL_USERDATA, (LONG)widget);
header = myCreateWindowEx(0, WC_HEADER, NULL,
- WS_CHILD | WS_BORDER | HDS_HORZ | WS_VISIBLE
+ WS_CHILD | HDS_HORZ | WS_VISIBLE
| (GTK_CLIST(widget)->coldata[0].button_passive ?
0 : HDS_BUTTONS),
0, 0, 0, 0, scrollwin, NULL, hInst, NULL);