X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/30e92ba333f0aa8b7d7f1c004ea20e4dab5c1f7a..d642db66a5efc82d374b813022c72ba88bc50839:/include/wx/combo.h diff --git a/include/wx/combo.h b/include/wx/combo.h index 3806ca1a8a..76bf25f532 100644 --- a/include/wx/combo.h +++ b/include/wx/combo.h @@ -541,7 +541,10 @@ protected: void DestroyPopup(); // override the base class virtuals involved in geometry calculations + // The common version only sets a default width, so the derived classes + // should override it and set the height and change the width as needed. virtual wxSize DoGetBestSize() const; + virtual wxSize DoGetSizeFromTextSize(int xlen, int ylen = -1) const; // also set the embedded wxTextCtrl colours virtual bool SetForegroundColour(const wxColour& colour);