Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / wxGlade and MDI

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. wxGlade and MDI
#2796
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 • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Mon 2024-10-7  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0