X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e6273b919b2a76109cd3d4b90c68d2d92f148eeb..3b4b952d42608ff90b03c85f961ba10b93bde916:/interface/wx/sizer.h diff --git a/interface/wx/sizer.h b/interface/wx/sizer.h index 351215add7..056c3fa13c 100644 --- a/interface/wx/sizer.h +++ b/interface/wx/sizer.h @@ -439,6 +439,11 @@ public: */ wxWindow* GetContainingWindow() const; + /** + Set the window this sizer is used in. + */ + void SetContainingWindow(wxWindow *window); + /** Returns the number of items in the sizer. @@ -637,7 +642,7 @@ public: 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. */ @@ -921,6 +926,13 @@ public: @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); + };