Hi,
I'd like to let my application know when a pane in a wxAuiManager is hidden by clicking the close button. I tried to capture an EVT_CLOSE or to override the virtual wxWindow::Show() function without success. The only thread I have found on a related topic was on the wxWidgets list, but there was no answer:
http://lists.wxwidgets.org/pipermail/wx ... 06722.html
so maybe I'm missing something very obvious. Any help would be greatly appreciated.
Christoph
Kirix Support Forums
Notify application when pane is closed
2 posts
• Page 1 of 1
- csh
- Registered User
- Posts: 2
- Joined: Tue Feb 27, 2007 6:09 am
Re: Notify application when pane is closed
You can use EVT_AUI_PANE_CLOSE macro.
Call wxAuiManagerEvent::Veto() to cancel pane's closing.
Call wxAuiManagerEvent::Veto() to cancel pane's closing.
- HzD_Byte
- Registered User
- Posts: 15
- Joined: Sun Feb 12, 2006 1:03 am
2 posts
· Page 1 of 1
Return to wxAUI Questions, Thoughts & Feedback