X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/df3c4a42d973ec9f4abf9d4f1e5779a40ac310d0..e94f3031736c1a23eba37892b4076893b1f6e416:/interface/wx/combo.h diff --git a/interface/wx/combo.h b/interface/wx/combo.h index 00ba186a5f..d6e219350e 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(); @@ -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. @@ -864,7 +862,7 @@ protected: /** This member function is not normally called in application code. Instead, it can be implemented in a derived class to return default - wxComboPopup, incase @a popup is @NULL. + wxComboPopup, in case @a popup is @NULL. @note If you have implemented OnButtonClick() to do something else than show the popup, then DoSetPopupControl() must always set @a popup