wxListCtrl custom drawing seems to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -124,6 +124,10 @@ public:
|
||||
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; }
|
||||
@@ -142,6 +146,7 @@ class WXDLLEXPORT wxListItem : public wxObject
|
||||
{
|
||||
public:
|
||||
wxListItem();
|
||||
~wxListItem() { delete m_attr; }
|
||||
|
||||
// setters
|
||||
void SetMask(long mask) { m_mask = mask; }
|
||||
|
Reference in New Issue
Block a user