title: Reisze wx.Dialog horizontally only
body: <p>Is there a way to allow a custom wx.Dialog to be resized in the horizontal direction only? I've tried using GetSize() and then setting the min and max height of the window using SetSizeHints(), but for some reason it always allows the window to be resized just a little, and it looks rather tacky. The only other alternative I have come up with is to hard-code the min and max height, but I don't think that would be such a good idea...</p>
  
  <p>Relevant code:</p>
  
  <pre><code>class SomeDialog(wx.Dialog):
  
      def __init__(self, parent):                               
          wx.Dialog.__init__(self, parent, title="blah blah",
                             style=wx.DEFAULT_DIALOG_STYLE|wx.RESIZE_BORDER)
          size = self.GetSize()
          self.SetSizeHints(minW=size.GetWidth(), minH=size.GetHeight(),
                            maxH=size.GetHeight())
  </code></pre>
  
  <p>os: Windows 7<br />
  python version: 2.5.4 <br />
  wxPython version: 2.8.10</p>