title: wxpython custom text entry dialog
body: <p>I am trying to do a text entry dialog, but I don´t want to use the built-in method. I´m doing pretty well , the only problem is that is the buttons are displaying perfectly, but <strong>the text entry is Hidden</strong>. </p>
  
  <p>Where is the issue?</p>
  
  <pre><code>class RouteWindow(wx.Dialog):
     def __init__(self):
      super(RouteWindow, self).__init__(None)
      self.DialogUI()
      self.SetSize((200, 250))
      self.SetTitle("Specify Route...")
  
     def DialogUI(self):
      pan = wx.Panel(self)
      vbox = wx.BoxSizer(wx.VERTICAL) 
      dial_box = wx.BoxSizer(wx.HORIZONTAL)
      dial_text = wx.StaticText(pan, label = "Route :")
      dial_box.Add(dial_text,0,wx.ALL,5)
      dial_camp = wx.TextCtrl(pan)
      dial_box.Add(dial_camp,wx.EXPAND)
      vbox.Add(dial_box,wx.ALIGN_CENTER|wx.TOP, border = 4)
      opt_box = wx.BoxSizer(wx.HORIZONTAL)
      opt_close = wx.Button(self, label = "Close")
      opt_ok = wx.Button(self, label = "OK" )
      opt_box.Add(opt_ok)
      opt_box.Add(opt_close, flag =  wx.LEFT, border = 5)
      vbox.Add(opt_box, flag = wx.ALIGN_CENTER|wx.BOTTOM, border = 4)
      self.SetSizer(vbox)
  </code></pre>