|Perl Monk, Perl Meditation|
Re: Wx::Panel not renderingby tunaboy (Curate)
|on Feb 10, 2005 at 00:06 UTC||Need Help??|
Perl: ActiveState 5.8.3 build 809
With your original code if I minimise then maximise the window the panel appears. So my guess is the window needs to be redrawn for the panel to appear. I tried doing a $self->Refresh inside the menu callback but that did not work for me.
I made the following changes to have it appear automatically:
Using the sizer to resize the window after the panel is created makes it appear for me. Of course the frame changes size as well which may not be what you are after.
I am not sure if this is what you are after or if it helps at all.