Sorry if I'm trying to catch the close event in the wrong place: I can catch and veto the close event fine if the user closes tabs by clicking on the x button, but no such event seems to be generated when I close tabs programmatically (by calling the notebook's DeletePage method).
What am I doing wrong?
I'd be grateful for all help.
PS I am using wxW 2.8.0 on XP.
Kirix Support Forums
wxAuiNotebook::DeletePage does not generate close event
3 posts
• Page 1 of 1
- gnschmidt
- Registered User
- Posts: 20
- Joined: Sat Sep 30, 2006 2:59 am
Hi,
It could be that it's missing. Does the regular wxNotebook fire this event when DeletePage() is called? If the two are not in sync, then it's a bug that must be fixed.
Thanks,
Ben
It could be that it's missing. Does the regular wxNotebook fire this event when DeletePage() is called? If the two are not in sync, then it's a bug that must be fixed.
Thanks,
Ben
-
Ben - Kirix Support Team
- Posts: 525
- Joined: Mon Dec 19, 2005 6:29 am
Thanks Ben!
I think it may be missing. I think wxNotebook fires the event and I know wxFlatNotebook does (I've just switched from wxFlatNotebook to wxAuiNotebook).
If I remember correctly, the wxAuiNotebook documentation also states that the event is fired.
Regards,
Gerald
I think it may be missing. I think wxNotebook fires the event and I know wxFlatNotebook does (I've just switched from wxFlatNotebook to wxAuiNotebook).
If I remember correctly, the wxAuiNotebook documentation also states that the event is fired.
Regards,
Gerald
- gnschmidt
- Registered User
- Posts: 20
- Joined: Sat Sep 30, 2006 2:59 am
3 posts
· Page 1 of 1
Return to wxAUI Questions, Thoughts & Feedback