I shall be having another look at GTKMaxGUI once I've released wxMax proper... (currently porting some wxWidgets tutorials).
I still think anyone playing with nodes that have been removed is not a good thing, kind of implying a logic issue in the application ;-)
Don't mind adding asserts though.
As long as the treeview exists, it shouldn't matter whether it is hidden or not, so I don't think that is a problem.
As for the menu issues in general, they don't appear to be very happy with this new move to using an accelerator map - mainly because I think I've missed out something obvious. I found one example via google, and it appeared to be doing what I'm doing, so I dunno for now. I might have a rummage through the wx code and see what they do - I've got plenty of that source lying around for some reason ;-)
I still think anyone playing with nodes that have been removed is not a good thing, kind of implying a logic issue in the application ;-)
Don't mind adding asserts though.
As long as the treeview exists, it shouldn't matter whether it is hidden or not, so I don't think that is a problem.
As for the menu issues in general, they don't appear to be very happy with this new move to using an accelerator map - mainly because I think I've missed out something obvious. I found one example via google, and it appeared to be doing what I'm doing, so I dunno for now. I might have a rummage through the wx code and see what they do - I've got plenty of that source lying around for some reason ;-)