From 1d037f6cc8689b05ed53a732f28308525bad5ab4 Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Tue, 12 Apr 2011 09:35:04 +0000 Subject: [PATCH] Describe what re-implemented wxComboPopup::DestroyPopup() should do git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/combo.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interface/wx/combo.h b/interface/wx/combo.h index d3ba84ff39..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();