From: Vadim Zeitlin Date: Mon, 2 Jun 2003 23:00:35 +0000 (+0000) Subject: added GetMargins() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6af4ea87d0c75ab0178a0ed3145bb3a0a0eada91 added GetMargins() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/vlbox.h b/include/wx/vlbox.h index 84fcfdfca9..b1588627ba 100644 --- a/include/wx/vlbox.h +++ b/include/wx/vlbox.h @@ -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