Re: wxEuphoria - MDI window menu ordering
- Posted by Matt Lewis <matthewwalkerlewis at g?ail.co?> Mar 01, 2008
- 600 views
Greg Haberek wrote: > > > The File menu still appears after the Window menu, despite being given an > index > of zero. And I don't know how to create the menus before the wxMDIParentFrame, > since that control is the parent of everything else... > > Also, I've found that if I create the menubar after the wxMDIChildFrames, all > the child windows are sized to their smallest dimensions (effectively {0,0}) > but if I create the menubar before the wxMDIChildFrames, the child windows are > all their default size of {390,232}. I can't see a way to do this, other than to use the wxFRAME_NO_WINDOW_MENU style on the wxMDIParentFrame. Of course, this means that you'll have to implement it yourself if you want it. Note that you only get that menu on Windows. I think that on GTK (where there isn't a concept of MDI) you end up with tabs instead. Matt