I've created this app to test some things out
I've created a splitterWindow an a wxBoxSizer
I'm trying to add the Sizer to the splitter but it doesn't work
splitter = wxSplitterWindow(self, -1)
self.box = wxBoxSizer(wxHORIZONTAL)
tree = wxTreeCtrl(splitter,-1)
tree.AddRoot("test")
self.box.Add(tree,1,wxGROW)
self.box.Add(wxWindow(self,-1),1,wxGROW)
self.SetSizer(self.box)
self.SetAutoLayout(true)
splitter.SplitVertically(self.box,wxWindow(splitter,-1))
splitter.Show(1)
I think the solution would be add the Sizer to a panel and add the panel
to the Splitter. But I don't know how to do this I don't want to make a
new class I want to do everything in this class ...