wxEditableListBox.GetListCtrl() return wxControl

Nick Trout wrote:

I think there is a bug in wxEditableListBox. I cannot get the list
control from wxEditableListBox, it returns the control. It looks from
the code like it should work but it doesn't:

print self.editableListBoxBookmarks.GetListCtrl()

Gives:

<C wxControl instance at _c9d2d0_wxControl_p>

Am I supposed to downcast the result?! I don't think I am. Have I

missed

something?

What version of wxPython are you using? That should be fixed in the

current release.

I was using 2.4.0.6. I've upgraded to 2.4.0.7 and it does appear to be
fixed, thanks. There is no mention of this being fixed in change log.

BTW the changelog is not up to date on wxpython.org

Regards,
Nick

Nick Trout wrote:

BTW the changelog is not up to date on wxpython.org

Thanks. Updated now.

ยทยทยท

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