Added wxSizer::GetItemCount()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
63d798fdb6
commit
6b527e158d
@ -665,6 +665,8 @@ public:
|
||||
void SetDimension(int x, int y, int width, int height)
|
||||
{ SetDimension(wxPoint(x, y), wxSize(width, height)); }
|
||||
|
||||
size_t GetItemCount() { return m_children.GetCount(); }
|
||||
|
||||
wxSizerItem* GetItem( wxWindow *window, bool recursive = false );
|
||||
wxSizerItem* GetItem( wxSizer *sizer, bool recursive = false );
|
||||
wxSizerItem* GetItem( size_t index );
|
||||
|
@ -1091,6 +1091,11 @@ public:
|
||||
*/
|
||||
wxWindow* GetContainingWindow() const;
|
||||
|
||||
/**
|
||||
Returns the number of items in the sizer.
|
||||
*/
|
||||
size_t GetItemCount();
|
||||
|
||||
/**
|
||||
Finds wxSizerItem which holds the given @a window.
|
||||
Use parameter @a recursive to search in subsizers too.
|
||||
|
Loading…
Reference in New Issue
Block a user