X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/df3c4a42d973ec9f4abf9d4f1e5779a40ac310d0..c29c95fe24973b94fd724db767193171ca7c513d:/interface/wx/combo.h diff --git a/interface/wx/combo.h b/interface/wx/combo.h index 00ba186a5f..268f247573 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(); @@ -864,7 +868,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