]> git.saurik.com Git - wxWidgets.git/commitdiff
Describe what re-implemented wxComboPopup::DestroyPopup() should do
authorJaakko Salli <jaakko.salli@dnainternet.net>
Tue, 12 Apr 2011 09:35:04 +0000 (09:35 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Tue, 12 Apr 2011 09:35:04 +0000 (09:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/combo.h

index d3ba84ff39535f7b5b4bfaffc62d9377ea97937d..268f247573b07e4862f11f716e5f74a136a245e7 100644 (file)
@@ -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();