On Fri, 27 Jun 2003 16:34:30 +0200 (CEST) Robert Vazan <[EMAIL PROTECTED]> wrote:
Sorry to get back to this once again but I still don't understand everything here and I'd really, really like to add this to wxWindows (and use it in Mahogany 0.65) so I don't want to do anything rash. I do promise that I'm not going to leave your next message without reply for 2 weeks or more... RV> > Sorry, I don't follow you -- why? If the users code uses sizers, RV> > wxWizard RV> > will use them to size tiself correctly, isn't this what we want? RV> RV> You never know whether calling code uses sizers because new pages can be RV> added at any time. Adding all pages into some sizer isn't solution as RV> the wizard would then lose its current automatic resizing feature. I don't understand this -- surely the wizard could still find the max size of all pages starting from the first one as it currently does in FitToPage() even if the sizer were used internally? The advantage is that you could add pages which can't be reached by applying GetNext() to the first one to the sizer as well. The only problem is that you may not want to construct thep age at all unless it is really needed (this is the case for some pages in Mahogany, for example it takes time to initialize the dial up page of the install wizard and why do it if the user doesn't choose to use it at all?). I think that the simplest and best solution would be to do real initialization in TransferDataToWindow() which is only called when the page is really shown, not in the page ctor. RV> Then why not make new behaviour forced without any checks? Sorry, which new behaviour? RV> Done. RV> RV> <http://www.privateweb.sk/robertvazan/ RV> patches/mahogany.robertvazan.wizard5.patch> It looks (from reading the code) that the wizard size may change when passing to another page -- is this true? Thanks, VZ ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Mahogany-Developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-developers