[wx-dev] [wxWinCE] Background problem

ABX abx at abx.art.pl
Mon Jul 24 08:29:38 PDT 2006


Jamie Gadd <jrgadd2 at cs.latrobe.edu.au>:
> I remember there is a wxAdjustZOrder in 
> src/msw/window.cpp for static boxes (WinCE only). I suspect the problem is 
> somewhere there.

Yes, it seems to be the problem. wxAdjustZOrder is called only from InitDialog
event which doesn't occur for wxFrame (which is TLW of widgets sample).
Moreover I'm affraid it will not work for wxDialog too if wxStaticBox is
created after dialog creation (like on-demand creation of the pages as happens
to be in widgets samples). I just verified that wxAdjustZOrder fixes it from
wxFrame too but I have no idea from where I should call it so creation on-the
fly would be correct too. Suggestions?

ABX




More information about the wx-dev mailing list