Guidance Forums / wxWidgets (wxWindows) in C++ / wxGlade and MDI

Search 搜索
Home Home

Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. wxGlade and MDI
Posted by: 2003-10-29 00:51:23
Hi, I've been trying to make an MDI frame using glade. What I first tried was just changing the parent from wxFrame to wxMDIParentFrame, but the client area is not visible, the main body of the window is transparent. I'm guessing this has something to do with the sizers. I tried getting the pointer to the client area and adding it to the sizers, but it compiled and then crashed. I think I have two options, overide client creation or strip out the sizer code, the second not being a lot of good as wxGlade will replace it all. I think the orride method will work, I'm going to give it a go now, but I was wondering if there is any other way of doing it? I know the sensible answer is probably not to use wxGlade for this frame, but I want the whole app to be a single wxGlade project (even if it does mean recompiling everything on a minor change).

Any ideas or insights into the crash reason would be appreciated.
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
© Sun 2024-4-14  Guidance Laboratory Inc. Hits:0