added GetMargins()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -103,6 +103,9 @@ public:
|
|||||||
// is this item selected?
|
// is this item selected?
|
||||||
bool IsSelected(size_t line) const { return (int)line == m_selection; }
|
bool IsSelected(size_t line) const { return (int)line == m_selection; }
|
||||||
|
|
||||||
|
// get the margins around each item
|
||||||
|
wxPoint GetMargins() const { return m_ptMargins; }
|
||||||
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// the derived class must implement this function to actually draw the item
|
// the derived class must implement this function to actually draw the item
|
||||||
|
Reference in New Issue
Block a user