Kirix Support Forums
wxPaneInfo::DestroyOnClose()
5 posts
• Page 1 of 1
wxPaneInfo::DestroyOnClose()
wxPaneInfo::DestroyOnClose() and optionDestroyOnClose appear to be unimplemented. Any chance of this being implemented (if it just hid the window, i.e. did a Close() this would be great).
- abligh
- Registered User
- Posts: 59
- Joined: Sun Jan 01, 2006 2:31 pm
-
Ben - Kirix Support Team
- Posts: 525
- Joined: Mon Dec 19, 2005 6:29 am
bwilliams wrote:Hi Alex,
I'll try to get it in for the upcoming 0.9.2
Best,
Ben
Thanks. Further investigation suggests that the only Destroy() needed is on the OnClose routine (the only other use of Destroy() is destroying the floating pane window itself once its child has been reparented). Is it merely a case of checking the flag before doing that? In which case I can probably send you a patch.
Did you give any thought to making various of the methods in wxFrameManager virtual by the way?
Alex
- abligh
- Registered User
- Posts: 59
- Joined: Sun Jan 01, 2006 2:31 pm
Yes it is that easy. I'd love a patch. Just make sure that the corresponding wxPaneInfo also gets removed from the m_panes array-- I think that code is already there, though.
Thanks,
Ben
Thanks,
Ben
-
Ben - Kirix Support Team
- Posts: 525
- Joined: Mon Dec 19, 2005 6:29 am
- vexator
- Registered User
- Posts: 17
- Joined: Sat Feb 04, 2006 7:18 am
5 posts
· Page 1 of 1
Return to wxAUI Questions, Thoughts & Feedback