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:
@@ -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 );
|
||||||
|
@@ -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.
|
||||||
|
Reference in New Issue
Block a user