Kirix Support Forums
Calling AddPane() on wxDialog & derived classes thereof
3 posts
• Page 1 of 1
Calling AddPane() on wxDialog & derived classes thereof
Is calling AddPane() on wxDialog & derived classes thereof supported (presuming I remove the titlebar from the dialog itself), thereby giving me a dockable dialog?
- abligh
- Registered User
- Posts: 59
- Joined: Sun Jan 01, 2006 2:31 pm
Any window derived from wxTopLevelWindow (such as wxDialog) shouldn't be managed by wxAUI. The reason is that wxAUI performs reparenting functions which wont work properly on top level windows. The solution is to instead implement your dialog on a wxPanel. The panel can then be managed with wxAUI.
Right now, only a mini frame is supported on wxAUI. I imagine that, in the future, we will support a style for a full dialog frame.
All the best,
Ben
Right now, only a mini frame is supported on wxAUI. I imagine that, in the future, we will support a style for a full dialog frame.
All the best,
Ben
-
Ben - Kirix Support Team
- Posts: 525
- Joined: Mon Dec 19, 2005 6:29 am
OK, that would be useful, as right now I don't think you can load a wxPanel from XML, whereas you can do so with a wxDialog. I shall see if I can write a wxPanel XML loader.
- abligh
- Registered User
- Posts: 59
- Joined: Sun Jan 01, 2006 2:31 pm
3 posts
· Page 1 of 1
Return to wxAUI Questions, Thoughts & Feedback