X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e0c6027b5a0af9050eca56774967437a66241026..1338c59a025505bc066be220fe56e898a72b3ad3:/include/wx/vlbox.h 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