added wxControlWithItems constructor/destructor (for Darwin)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2002-05-11 17:14:46 +00:00
parent 34eac3a87d
commit 7c720ce633
2 changed files with 8 additions and 0 deletions

View File

@@ -105,6 +105,9 @@ protected:
class WXDLLEXPORT wxControlWithItems : public wxControl, public wxItemContainer
{
public:
wxControlWithItems() { }
virtual ~wxControlWithItems();
// we have to redefine these functions here to avoid ambiguities in classes
// deriving from us which would arise otherwise because both base classses
// have the methods with the same names - hopefully, a smart compiler can

View File

@@ -122,4 +122,9 @@ void *wxItemContainer::GetClientData(int n) const
return DoGetItemClientData(n);
}
wxControlWithItems::~wxControlWithItems()
{
// this destructor is required for Darwin
}
#endif // wxUSE_CONTROLS