On Mon, 21 Jul 2003 02:24:48 +0200 (Romance Daylight Time) Vadim Zeitlin <[EMAIL PROTECTED]> wrote:
> I only had a small problem with the code in upgrade.cpp which added > the same page to the sizer twice -- this is a bad idea as it leads to > difficult to find bugs later on (wxWin should check for it...). Right, I should have looked which page is the second one. > I've just > removed the offending code as if I understand correctly it is unnecessary > anyhow. I think my change is ok but please have a look at it nevertheless > if you can. I think this will trigger assert in wxWizardSizer::GetMaxChildSize, because, with smart wxWizardPage::GetNext, siblings can change and minimal size consequently changes too. Adding pages that can be skipped into sizer ensures that their minimal size is taken into account even if they are skipped. I think I should have added this into message of that assert. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Mahogany-Developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-developers