Thanks John,
I am using wxPython, so I'll have to analyse what calls wxPython makes and
compare with your code to see what I'm doing wrong..
Roger
···
----- Original Message -----
From: "John Labenski" <jrl1@Lehigh.EDU>
To: <wxwindows-users@lists.sourceforge.net>
Sent: Tuesday, February 13, 2001 6:20 AM
Subject: Re: Fw: [wx-users] wxListControl Styles> Roger Wenham wrote:
> >
> > Hi,
> > I have now downloaded and recompiled everything:
> > glib-1.2.8
> > gtk+-1.2,8
> > wxGTK-2.2.5
> > wxPython-2.2.5
> > but the problem remains
> >
> > Is anyone out there changing list styles successfully ?
>
> Yes, I just put one in last night.
>
> wxListCtrl *pointslistctrl = new wxListCtrl( this, ID_POINTS_LISTCTRL,
> wxDefaultPosition, wxSize(180,250),
> wxLC_REPORT|wxLC_EDIT_LABELS|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
>
> pointslistctrl->InsertColumn(0, "X Y", wxLIST_FORMAT_LEFT);
> pointslistctrl->DeleteAllItems();
>
> then pointslistctrl->InsertItem(i,wxstr);
>
> Now, I only have Items since I'm making a cheesy wxGrid, or in other
> words an editable wxListBox (without having to have a separate textctrl
> to edit). I wish you could edit all the item columns though...
>
> No problems, wxGTK and wxMSW.
>
> Good Luck,
> John Labenski
>
> _______________________________________________
> wxWindows-users mailing list
> wxWindows-users@lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/wxwindows-users
>
_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users