Hi,
I use wxAUI in an MDI application (thks for 0.9.1) ... And look is very pretty ...
But I still have a problem ... I put a progress control in the MDI parent frame status bar. And I need to catch size event to put my progress at the right place (in its dedicated pane). wxAUI push its event handler (wxFrameManager) in front of the native frame one. As you catch size event, the managed frame does not receive any sizing event and my progress bar stays wxDefaultSize & wxDefaultPosition !!!
I think that events you catch should be skipped to allow client application to receive them after wxFrameManager. This allow some customization like drawing an MDIClientWnd background or to manage control position in status bar ...
Thxs a lot for this great library
Bertrand
Kirix Support Forums
Skipping events !?!
3 posts
• Page 1 of 1
- bpasquier
- Registered User
- Posts: 3
- Joined: Wed Jan 18, 2006 12:33 pm
- Location: Paris, FRANCE
I agree. Sometimes the skipping is allowed, but other times it messes things up. We will at least try to add wxAUI events to notify you about stuff such as size changes.
Originally, we were calling skip on EVT_SIZE. However, this caused major problems (I can't remember what). Suffice to say we'll try to come up with some solution to this problem.
Of course, if you looked into it and posted a patch, that would be even better.
Originally, we were calling skip on EVT_SIZE. However, this caused major problems (I can't remember what). Suffice to say we'll try to come up with some solution to this problem.
Of course, if you looked into it and posted a patch, that would be even better.
-
Ben - Kirix Support Team
- Posts: 525
- Joined: Mon Dec 19, 2005 6:29 am
I currently add an "event.Skip()" in wxFrameManager::OnSize(...) ...
I didn't notice any bugs with this trick ...
But anyway, if I can spend hours on it ... I will be a real pleasure for me to submit a patch !!!
Thks
Bertrand
I didn't notice any bugs with this trick ...
But anyway, if I can spend hours on it ... I will be a real pleasure for me to submit a patch !!!
Thks
Bertrand
- bpasquier
- Registered User
- Posts: 3
- Joined: Wed Jan 18, 2006 12:33 pm
- Location: Paris, FRANCE
3 posts
· Page 1 of 1
Return to wxAUI Questions, Thoughts & Feedback