added GetMargins()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-06-02 23:00:35 +00:00
parent 4760fa9109
commit 6af4ea87d0

View File

@@ -103,6 +103,9 @@ public:
// is this item selected?
bool IsSelected(size_t line) const { return (int)line == m_selection; }
// get the margins around each item
wxPoint GetMargins() const { return m_ptMargins; }
protected:
// the derived class must implement this function to actually draw the item