From e8be37da3dba7d0034051e916041c467d25192be Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Thu, 9 Apr 2020 19:11:23 -0400 Subject: [PATCH] Add missing documentation for wxTreeCtrl GetSpacing / SetSpacing Closes https://github.com/wxWidgets/wxWidgets/pull/1787 --- interface/wx/treectrl.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/interface/wx/treectrl.h b/interface/wx/treectrl.h index f6ca003521..fe66a39c03 100644 --- a/interface/wx/treectrl.h +++ b/interface/wx/treectrl.h @@ -506,6 +506,12 @@ public: */ virtual unsigned int GetIndent() const; + /** + Returns the current tree control spacing. This is the number of + horizontal pixels between the buttons and the state images. + */ + unsigned int GetSpacing() const; + /** Returns the background colour of the item. */ @@ -850,6 +856,13 @@ public: */ virtual void SetIndent(unsigned int indent); + /** + Sets the spacing for the tree control. Spacing is the number of + horizontal pixels between the buttons and the state images. + This has no effect under wxMSW. + */ + void SetSpacing(unsigned int spacing); + /** Sets the colour of the item's background. */