make the new GetItemCount() const

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-01-01 23:23:54 +00:00
parent 6b527e158d
commit 2f39b5a33e
2 changed files with 27 additions and 27 deletions

View File

@@ -665,7 +665,7 @@ public:
void SetDimension(int x, int y, int width, int height) void SetDimension(int x, int y, int width, int height)
{ SetDimension(wxPoint(x, y), wxSize(width, height)); } { SetDimension(wxPoint(x, y), wxSize(width, height)); }
size_t GetItemCount() { return m_children.GetCount(); } size_t GetItemCount() const { return m_children.GetCount(); }
wxSizerItem* GetItem( wxWindow *window, bool recursive = false ); wxSizerItem* GetItem( wxWindow *window, bool recursive = false );
wxSizerItem* GetItem( wxSizer *sizer, bool recursive = false ); wxSizerItem* GetItem( wxSizer *sizer, bool recursive = false );

View File

@@ -1094,7 +1094,7 @@ public:
/** /**
Returns the number of items in the sizer. Returns the number of items in the sizer.
*/ */
size_t GetItemCount(); size_t GetItemCount() const;
/** /**
Finds wxSizerItem which holds the given @a window. Finds wxSizerItem which holds the given @a window.