#ifndef _GENERIC_TREECTRL_H_
#define _GENERIC_TREECTRL_H_
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "treectlg.h"
#endif
long& cookie) const;
#endif // WXWIN_COMPATIBILITY_2_4
+ virtual bool ShouldInheritColours() const { return false; }
// implementation only from now on
// find the first item starting with the given prefix after the given item
wxTreeItemId FindItem(const wxTreeItemId& id, const wxString& prefix) const;
- bool HasButtons(void) const
- { return (m_imageListButtons != NULL)
- || HasFlag(wxTR_TWIST_BUTTONS|wxTR_HAS_BUTTONS); }
+ bool HasButtons() const { return HasFlag(wxTR_HAS_BUTTONS); }
void CalculateLineHeight();
int GetLineHeight(wxGenericTreeItem *item) const;