Hmm, I've tried several variations on the code below but it still
doesn't work. Even tried wxPostEvent, multiple calls to self.Layout()
before and after, and calls to sizer.Remove(statusbar) without
success.
I'm getting the feeling that .Show() isn't what I need but something
more powerful like Remove() or wxFrame.RemoveStatusBar().
Unfortunately they don't exist as far as I can tell =(.
-Mike
···
From: "Robin Dunn" <robin@alldunn.com>
To: <wxpython-users@lists.wxwindows.org>
Subject: Re: [wxPython] show/hide status bar?
Date: Thu, 3 May 2001 21:49:29 -0700
Reply-To: wxpython-users@lists.wxwindows.orgIf that doesn't work you may have to force a size event to happen in order
for the frame to adjust its notion of what the client area is.evt = wxSizeEvent(self.GetSize())
self.GetEventHandler().ProcessEvent(evt)Robin
----- Original Message -----
From: "Mike C. Fletcher" <mcfletch@home.com>
To: <wxpython-users@lists.wxwindows.org>
Sent: Thursday, May 03, 2001 7:45 PM
Subject: RE: [wxPython] show/hide status bar?> Could try calling self.Layout()?
>
> No other ideas,
> Mike
>
> -----Original Message-----
> From: Mike Miller [mailto:Mike.G.Miller@disney.com]
> Sent: Wednesday, May 02, 2001 22:04
> To: wxpython-users@lists.wxwindows.org
> Subject: [wxPython] show/hide status bar?
>
>
> Hi,
>
> How would one show/hide the status bar? I've tried the Show(true &
--
-Mike
_____________________________________________________________
Mike Miller "Friends don't let friends use Perl."