custom textctrl in wx.combo.ComboCtrl

Hello,

I'm trying to crate a cusom ComboCtrl whose TextCtrl is Multiline.
It looks like the TextCtrl for the ComboCtrl is created in
wxComboCtrlBase class which is inside _combo.pyd. Is there a way to
change the TextCtrl to a multiline after ComboCtrl is created, or
perhaps create my own ComboCtrl with a multiline textCtrl?

Thank you,
Sandy

No, it doesn't look like the ComboCtrl allows the creation of the textctrl to be overridden, and wx.TE_MULTILINE is one of those styles that must be set when the widget is created, not after.

···

On 1/19/10 5:14 AM, Sandy wrote:

Hello,

I'm trying to crate a cusom ComboCtrl whose TextCtrl is Multiline.
It looks like the TextCtrl for the ComboCtrl is created in
wxComboCtrlBase class which is inside _combo.pyd. Is there a way to
change the TextCtrl to a multiline after ComboCtrl is created, or
perhaps create my own ComboCtrl with a multiline textCtrl?

--
Robin Dunn
Software Craftsman