combobox = wx.ComboBox(self, wx.NewId(),
choices=['some', 'thing', 'to', 'select'],
style=wx.CB_READONLY|wx.CB_DROPDOWN)
I usually set the parent of the wnd to the tree itself
tree = ctree.CustomTreeCtrl(self,
style=wx.TR_HAS_BUTTONS | wx.TR_HAS_VARIABLE_ROW_HEIGHT
> wx.TR_HIDE_ROOT | wx.TR_SINGLE
> ctree.TR_AUTO_CHECK_CHILD | ctree.TR_AUTO_CHECK_PARENT)
so i would reverse the above code and call
combobox = wx.ComboBox(tree, wx.NewId(),
choices=['some', 'thing', 'to', 'select'],
style=wx.CB_READONLY|wx.CB_DROPDOWN)
but I don't know why u are getting that error
-Tim