wxLIST_NEXT_ALL, // Searches for subsequent item by index
wxLIST_NEXT_BELOW, // Searches for an item below the specified item
wxLIST_NEXT_LEFT, // Searches for an item to the left of the specified item
- wxLIST_NEXT_RIGHT, // Searches for an item to the right of the specified item
+ wxLIST_NEXT_RIGHT // Searches for an item to the right of the specified item
};
// Alignment flags for Arrange (MSW only except wxLIST_ALIGN_LEFT)
void SetFont(const wxFont& font) { m_font = font; }
// accessors
+ bool HasTextColour() const { return m_colText.Ok(); }
+ bool HasBackgroundColour() const { return m_colBack.Ok(); }
+ bool HasFont() const { return m_font.Ok(); }
+
const wxColour& GetTextColour() const { return m_colText; }
const wxColour& GetBackgroundColour() const { return m_colBack; }
const wxFont& GetFont() const { return m_font; }
{
public:
wxListItem();
+ ~wxListItem() { delete m_attr; }
+
+ // resetting
+ void Clear();
+ void ClearAttributes();
// setters
void SetMask(long mask) { m_mask = mask; }
inline long GetMask() { return m_item.m_mask; }
inline const wxListItem &GetItem() const { return m_item; }
-#ifndef __WXMSW__
void CopyObject(wxObject& object_dest) const;
-#endif
private:
DECLARE_DYNAMIC_CLASS(wxListEvent)