From f9b5691a1bd10b5aa6bd06526e325f0f6b4d3f98 Mon Sep 17 00:00:00 2001
From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Thu, 8 Feb 2007 14:27:25 +0000
Subject: [PATCH] added const overload of GetChildren()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 docs/latex/wx/sizer.tex | 2 ++
 include/wx/sizer.h      | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/docs/latex/wx/sizer.tex b/docs/latex/wx/sizer.tex
index 81fbcb2e48..a04d36f72b 100644
--- a/docs/latex/wx/sizer.tex
+++ b/docs/latex/wx/sizer.tex
@@ -241,6 +241,8 @@ windows which manage it.
 
 \membersection{wxSizer::GetChildren}\label{wxsizergetchildren}
 
+\constfunc{const wxSizerItemList\&}{GetChildren}{\void}
+
 \func{wxSizerItemList\&}{GetChildren}{\void}
 
 Returns the list of the items in this sizer. The elements of type-safe 
diff --git a/include/wx/sizer.h b/include/wx/sizer.h
index b6f7ff40cd..db5322461c 100644
--- a/include/wx/sizer.h
+++ b/include/wx/sizer.h
@@ -550,6 +550,8 @@ public:
 
     wxSizerItemList& GetChildren()
         { return m_children; }
+    const wxSizerItemList& GetChildren() const
+        { return m_children; }
 
     void SetDimension( int x, int y, int width, int height );
 
-- 
2.50.0

