title: how to hide wxpython status bar by default
body: <p>I am learning wxpython following the tutorials on <a href="http://zetcode.com/wxpython/menustoolbars/" rel="nofollow">zetcode</a> about menu bars and status bars. Please forgive me if the question is stupid.</p>
  
  <p>The code below from the website works fine, but I am curious how to hide the status bar by default (when the application window popup).</p>
  
  <pre><code>import wx
  
  class Example(wx.Frame):
  
      def __init__(self, *args, **kwargs):
          super(Example, self).__init__(*args, **kwargs)             
          self.InitUI()
  
      def InitUI(self):    
  
          menubar = wx.MenuBar()
          fileMenu = wx.Menu()
          viewMenu = wx.Menu()
  
          self.shst = viewMenu.Append(wx.ID_ANY, 'Show statubar', 
              'Show Statusbar', kind=wx.ITEM_CHECK)
          self.shtl = viewMenu.Append(wx.ID_ANY, 'Show toolbar', 
              'Show Toolbar', kind=wx.ITEM_CHECK)
  
          viewMenu.Check(self.shst.GetId(), True)
          viewMenu.Check(self.shtl.GetId(), True)
  
          self.Bind(wx.EVT_MENU, self.ToggleStatusBar, self.shst)
          self.Bind(wx.EVT_MENU, self.ToggleToolBar, self.shtl)
  
          menubar.Append(fileMenu, '&amp;File')
          menubar.Append(viewMenu, '&amp;View')
          self.SetMenuBar(menubar)
  
          self.toolbar = self.CreateToolBar()
          self.toolbar.AddLabelTool(1, '', wx.Bitmap('texit.png'))
          self.toolbar.Realize()
  
          self.statusbar = self.CreateStatusBar()
          self.statusbar.SetStatusText('Ready')
  
          self.SetSize((350, 250))
          self.SetTitle('Check menu item')
          self.Centre()
          self.Show(True)
  
  
      def ToggleStatusBar(self, e):        
          if self.shst.IsChecked():
              self.statusbar.Show()
          else:
              self.statusbar.Hide()
  
      def ToggleToolBar(self, e):        
          if self.shtl.IsChecked():
              self.toolbar.Show()
          else:
              self.toolbar.Hide()        
  
  def main():
  
      ex = wx.App()
      Example(None)
      ex.MainLoop()    
  
  if __name__ == '__main__':
      main()
  </code></pre>
  
  <p>I have tried to change one line above into:</p>
  
  <pre><code>viewMenu.Check(self.shst.GetId(), False)
  </code></pre>
  
  <p>Sadly, that didn't work out.</p>
  
  <p>Willing to hear any advice! Thanks in advance!</p>
  
  <p>Specs: wxpython: 2.8.12.1; python 2.7; Ubuntu 12.04</p>