*/
wxWindow* GetContainingWindow() const;
+ /**
+ Set the window this sizer is used in.
+ */
+ void SetContainingWindow(wxWindow *window);
+
/**
Returns the number of items in the sizer.
bool IsShown(size_t index) const;
/**
- Call this to force layout of the children anew, e.g. after having added a child
+ Call this to force layout of the children anew, e.g.\ after having added a child
to or removed a child (window, other sizer or space) from the sizer while
keeping the current dimension.
*/
@see Hide(), IsShown()
*/
bool Show(size_t index, bool show = true);
+
+
+ /**
+ Show or hide all items managed by the sizer.
+ */
+ virtual void ShowItems(bool show);
+
};