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:
@@ -105,6 +105,9 @@ protected:
|
|||||||
class WXDLLEXPORT wxControlWithItems : public wxControl, public wxItemContainer
|
class WXDLLEXPORT wxControlWithItems : public wxControl, public wxItemContainer
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
wxControlWithItems() { }
|
||||||
|
virtual ~wxControlWithItems();
|
||||||
|
|
||||||
// we have to redefine these functions here to avoid ambiguities in classes
|
// we have to redefine these functions here to avoid ambiguities in classes
|
||||||
// deriving from us which would arise otherwise because both base classses
|
// deriving from us which would arise otherwise because both base classses
|
||||||
// have the methods with the same names - hopefully, a smart compiler can
|
// have the methods with the same names - hopefully, a smart compiler can
|
||||||
|
@@ -122,4 +122,9 @@ void *wxItemContainer::GetClientData(int n) const
|
|||||||
return DoGetItemClientData(n);
|
return DoGetItemClientData(n);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wxControlWithItems::~wxControlWithItems()
|
||||||
|
{
|
||||||
|
// this destructor is required for Darwin
|
||||||
|
}
|
||||||
|
|
||||||
#endif // wxUSE_CONTROLS
|
#endif // wxUSE_CONTROLS
|
||||||
|
Reference in New Issue
Block a user