X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/792255cc6d3dfd55626c821bb8fdea48bfe919ba..c7d4ca810570664b68f7a4f0f11d2a5a64aa6163:/interface/wx/odcombo.h diff --git a/interface/wx/odcombo.h b/interface/wx/odcombo.h index 7edc546717..607b20d4d1 100644 --- a/interface/wx/odcombo.h +++ b/interface/wx/odcombo.h @@ -143,7 +143,7 @@ public: /** Destructor, destroying the owner-drawn combobox. */ - ~wxOwnerDrawnComboBox(); + virtual ~wxOwnerDrawnComboBox(); //@{ /** @@ -173,12 +173,12 @@ public: /** Returns index to the widest item in the list. */ - int GetWidestItem() const; + virtual int GetWidestItem(); /** Returns width of the widest item in the list. */ - int GetWidestItemWidth() const; + virtual int GetWidestItemWidth(); /** This method is used to draw the items background and, maybe, a border around it.