From b77521449ee7801e2bd2bd269e69242b3532389b Mon Sep 17 00:00:00 2001
From: Scott Talbert <swt@techie.net>
Date: Thu, 9 Apr 2020 19:11:23 -0400
Subject: [PATCH] Add missing documentation for wxTreeCtrl GetSpacing /
 SetSpacing

See https://github.com/wxWidgets/wxWidgets/pull/1787

(cherry picked from commit e8be37da3dba7d0034051e916041c467d25192be)
---
 interface/wx/treectrl.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/interface/wx/treectrl.h b/interface/wx/treectrl.h
index a9f9cafb7e1..16c4174c2b7 100644
--- a/ext/wxWidgets/interface/wx/treectrl.h
+++ b/ext/wxWidgets/interface/wx/treectrl.h
@@ -495,6 +495,12 @@ class wxTreeCtrl : public wxControl
     */
     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.
     */
@@ -834,6 +840,13 @@ class wxTreeCtrl : public wxControl
     */
     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.
     */
