X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d13b34d3f2be575d59747a5926000be7b28a45dc..017dc06b502c041c112a3948e6c5f65000a86d94:/interface/wx/combo.h diff --git a/interface/wx/combo.h b/interface/wx/combo.h index d3ba84ff39..870780d05e 100644 --- a/interface/wx/combo.h +++ b/interface/wx/combo.h @@ -41,6 +41,10 @@ public: your popup class in non-standard way. The default implementation can handle both multiple-inherited popup control (as seen in wxComboCtrl samples) and one allocated separately in heap. + + If you do completely re-implement this function, make sure it calls + Destroy() for the popup control and also deletes @a this object + (usually as the last thing). */ virtual void DestroyPopup(); @@ -690,7 +694,7 @@ public: @since 2.9.1 */ - virtual void SetHint(const wxString& hint); + virtual bool SetHint(const wxString& hint); /** Sets the insertion point in the text field. @@ -819,12 +823,6 @@ public: */ virtual void SetValue(const wxString& value); - /** - Same as SetValue(), but also sends wxCommandEvent of type - @c wxEVT_COMMAND_TEXT_UPDATED if @a withEvent is @true. - */ - void SetValueWithEvent(const wxString& value, bool withEvent = true); - /** Show the popup.