PreEditableListBox

Hey wxDudes,

There doesn't happen to be a PreEditableListBox anywhere, does there? A google
search turns up literally zero results, so I guess not. I checked in wx
and wx.gizmos, where some other Pre's were. I saw in the demos the ComboCtrl
with a ListCtrl in it (ListCtrlComboPopup), and I thought it would be pretty
cool to have one with an EditableListBox inside instead.

Does anyone have any thoughts or ideas?

Rooney, Mike (ext. 324) wrote:

Hey wxDudes,

There doesn't happen to be a PreEditableListBox anywhere, does there?

Doesn't look like it, I'm not sure why. Probably the C++ class doesn't have a default constructor...

I saw in the demos the ComboCtrl
with a ListCtrl in it (ListCtrlComboPopup), and I thought it would be pretty
cool to have one with an EditableListBox inside instead.

You can probably do it with a has-a relationship instead of an is-a since then you can delay the creation of the control until you know what the parent will be. See the TreeCtrlComboPopup class in the demo for an example.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!