]> git.saurik.com Git - wxWidgets.git/commitdiff
added const overload of GetChildren()
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 8 Feb 2007 14:27:25 +0000 (14:27 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 8 Feb 2007 14:27:25 +0000 (14:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/sizer.tex
include/wx/sizer.h

index 81fbcb2e488e432649c556a68795a64fbb8389bf..a04d36f72b34d413d8a7a5895a6618e72c696bda 100644 (file)
@@ -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 
index b6f7ff40cd084a25d3ce26fcc0860c5d5d97d406..db5322461c1ebe80582e658a0fca76143a3d9fd8 100644 (file)
@@ -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 );