CustomTreePanel

        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

Timothy Westbrook <iondiode <at> yahoo.com> writes:

I usually set the parent of the wnd to the tree itself
...
so i would reverse the above code and call
...
but I don't know why u are getting that error

-Tim

Thank You Tim,
it's enough to make it work. I assume when Combobox and CustomTree are on the
same inheritance level inside Panel, then it overlaps one another.

Again, thank You for quick answer.