class WXDLLEXPORT wxItemContainer
{
public:
- wxItemContainer() { m_clientDataItemsType = wxClientData_None; }
+ wxItemContainer();
virtual ~wxItemContainer();
// adding items
class WXDLLEXPORT wxControlWithItems : public wxControl, public wxItemContainer
{
public:
- wxControlWithItems() { }
+ wxControlWithItems();
virtual ~wxControlWithItems();
// we have to redefine these functions here to avoid ambiguities in classes
// this
wxCONTROL_ITEMCONTAINER_CLIENTDATAOBJECT_RECAST
+ // usually the controls like list/combo boxes have their own background
+ // colour
+ virtual bool ShouldInheritColours() const { return false; }
+
private:
DECLARE_NO_COPY_CLASS(wxControlWithItems)
};