title: Creating Notebook tabs for MDIChildFrame
body: <p>I would like to be able to tab between MDIChildFrame using the wxflatnotebook or similar. I have included my code and also an Image of an example of what i'm looking for. The tabs I'm trying to duplicate are (GPBUSD) &amp; (EURUSD). So far I'm not having any luck so any information will be greatly appreciated.  </p>
  
  <pre><code>import wx
  import wx.lib.agw.aui as aui
  
  class MDIFrame(wx.MDIParentFrame):
      def __init__(self):
          wx.MDIParentFrame.__init__(self, None, -1, "MDI Parent", size =(1350, 720))
          menu = wx.Menu()
          menu.Append(5000, "&amp;New Window")
          menu.Append(5001, "&amp;Exit")
          menubar = wx.MenuBar()
          menubar.Append(menu, "&amp;File")
          self.SetMenuBar(menubar)
          self.Bind(wx.EVT_MENU, self.OnNewWindow, id=5000)
          self.Bind(wx.EVT_MENU, self.OnExit, id=5001)
          self.mgr = aui.AuiManager(self, aui.AUI_MGR_DEFAULT
                                         |aui.AUI_MGR_TRANSPARENT_DRAG
                                         |aui.AUI_MGR_ALLOW_ACTIVE_PANE                                     
                                         |aui.AUI_MGR_TRANSPARENT_HINT)                      
          self.inputPanel = wx.Panel(self, -1)
          self.BuildPain()
  
      def BuildPain(self):                             
          self.mgr.AddPane(self.GetClientWindow(),
                           aui.AuiPaneInfo().Name("book").Caption("Notebook").
                           CenterPane().CaptionVisible(True).Dockable(True).Floatable(False).
                           BestSize((300,300)).CloseButton(False).MaximizeButton(True)
                           )    
          self.mgr.AddPane(self.inputPanel,
                          aui.AuiPaneInfo().Name("input").Caption("Input panel").
                           CaptionVisible(True).Left().Dockable(True).Floatable(True).
                           BestSize((300,300)).CloseButton(False).MaximizeButton(True)
                           )
          self.mgr.Update()
  
      def OnExit(self, evt):
          self.Close(True)
  
      def OnNewWindow(self, evt):
          win = wx.MDIChildFrame(self, -1, "Child Window")
          win.Show(True)
  
  if __name__ == "__main__":
      app = wx.App(0)
      frame = MDIFrame()
      frame.CenterOnScreen()
      frame.Show()
      app.MainLoop()
  </code></pre>
  
  <p><a href="http://imageshack.us/a/img534/280/mdip.png" rel="nofollow noreferrer">Example Image http://imageshack.us/a/img534/280/mdip.png</a> </p>