wXWidgets: Change a Widget's Parent?

BlitzMax Modules Forums/Brucey's Modules/wXWidgets: Change a Widget's Parent?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Ahh, thanks. Reparent seems to work fine.

It's wxWindow child on a wxFrame. Essentially the closest thing I could get to a MaxGUI canvas. A basic gadget with a hWnd to pass so that I can put a TrueVision3D context in it. It's parented to the panel which fills the frame, as is the notebook, but (oddly and initially I thought it was fortunate) it doesn't lose z-order as the panels are enabled and disabled. So I thought this would be a nice way to make the 3d graphics window available on all panels. But I'm getting a lot of random problems, particularly with wxFileDialogs which are opened with ShowModal ( they don't open at all! ) and I'm wondering whether this is because of my little quirk which has the TV3D window defying z-order. I'm going to try parenting it to each of the tabs and moving it between them as the tabs are activated, and hopefully that will stop me from having problems with filedialogs.