Hi Klaas,

i was struggeling some time with having a mdi child window external to his mdi 
parent frame (just as a normal frame).

Because i'm using Dialogblocks with two step generation setted by default, I 
found the bug (from CVS head):

  156 bool a2dDocumentMDIChildFrame::Create(
  157                     wxMDIParentFrame* frame,
  158                     a2dView* view,
  159                     wxWindowID id,
  160                     const wxString& title,
  161                     const wxPoint& pos,
  162                     const wxSize& size,
  163                     long  style,
  164                     const wxString& name)
  165 {
  166     bool res = wxFrame::Create(frame, id, title, pos, size, styl......

The last line has to be
bool res = wxMDIChildFrame::Create(frame, id, title, pos, size, styl......

BTW, i added two step creation for the MDIPArentFrame to this file, too.

And i have a question. I took MDI style for my first test, because I'd like to 
have two or more different drawings selectable like a tab widget. None of 
these drawings are read from or stored to disk. They are generated (and 
modified) by code. Is it possible f. E. to use the CanvasDoc approach with 
simple scrolled windows on a tab widget as a view for the canvas doc?

Thanks and REgards,

Thomas

-- 
Dipl.-Ing. Thomas Zehbe
Kuhweide 6
31552 Apelern

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to