Added wxComboPopup::DestroyPopup(), which responsibility is to call Destroy() for the popup control and also delete the combo popup object itself. The default implementation should be able to handle common cases.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -36,6 +36,14 @@ public:
|
||||
*/
|
||||
virtual bool Create(wxWindow* parent) = 0;
|
||||
|
||||
/**
|
||||
You only need to implement this member function if you create
|
||||
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.
|
||||
*/
|
||||
virtual void DestroyPopup();
|
||||
|
||||
/**
|
||||
Utility function that hides the popup.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user