Użytkownik Paul McNett napisał: > Ed Leafe wrote: > >> On Jul 11, 2009, at 9:52 AM, Paul McNett wrote: >> >> >>> Which is why I put the above code * right before * the app.start() >>> call. >>> I did this to fix issues with maximized forms. Did you try my >>> solution? >>> >> Are you displaying a login dialog *before* the main app loop starts? >> That's the issue here, since events will not have any effect until the >> app event loop is running. >> > > Hmm, no. But you don't need an event loop for a modal dialog. Here's > what I would do (apologies if this has already been tried): > > 1) display the login dialog after app.setup() but before instantiating > app.MainFormClass (it needs to be set to None) > > 2) instantiate the MainForm > > 3) add that refresh call if needed > > 4) app.start() >
Yes this method helps. Or even simpler, set showMainFormOnStart = False. But anyway, I think that is Dabo issue. I tested pure wx code and there is no garbage problem with maximized main frame between application instantiation and main loop start. Thanks for assistance. -- Regards Jacek Kałucki _______________________________________________ Post Messages to: Dabo-users@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/4a5a3643.9050...@rz.onet.pl