From: Tito D. C. <ti...@da...> - 2007-03-02 00:43:28
|
Fortunately, the GUI bug seems trivial after all. The new code is not filling the main wxTreeCtrl at all, so what should it display? ;-) You are just creating the root item, but it won't be displayed because the tree control is created with the wxTR_HIDE_ROOT flag. This is compatible with what's in the screenshot I made: you can see the empty tree control on the left (white) and the dummy sizer on the right (gray). Like the "empty" editor of the original trunk. In the original trunk, the tree is filled in ShapesEditor::MenuFileOpen(), which is now completely commented out. I think the filling can be done in ShapesView::OnCreate(), just after the creation of the root item (make sure you can access the sequence names, you need them). This will produce something more reasonable I hope :-) Tito -- Physics is reverse engineering |