]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/masked/combobox.py
Patch from Pierre Hjälm.
[wxWidgets.git] / wxPython / wx / lib / masked / combobox.py
index 3619c398f2211df5b0e93f1bba740d0a526cb4dc..8a78f9b651e6c8d10b8b67b2c7bf50e1691ec27c 100644 (file)
@@ -88,6 +88,7 @@ class BaseMaskedComboBox( wx.ComboBox, MaskedEditMixin ):
 
         if self._autofit:
             self.SetClientSize(self._CalcSize())
 
         if self._autofit:
             self.SetClientSize(self._CalcSize())
+            self.SetSizeHints(self.GetSize())
 
         if value:
             # ensure value is width of the mask of the control:
 
         if value:
             # ensure value is width of the mask of the control: