X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/81f2b2ee81ce76fdc826e2740713e6fbefbfd5b3..c0430d964dca888a28eff26436e6360a7b79b65f:/include/wx/generic/splitter.h diff --git a/include/wx/generic/splitter.h b/include/wx/generic/splitter.h index d334922dd2..f916423a2a 100644 --- a/include/wx/generic/splitter.h +++ b/include/wx/generic/splitter.h @@ -136,8 +136,14 @@ public: // Sets the border size void SetBorderSize(int WXUNUSED(width)) { } - // Gets the sash size + // Hide or show the sash and test whether it's currently hidden. + void SetSashInvisible(bool invisible = true); + bool IsSashInvisible() const { return HasFlag(wxSP_NOSASH); } + + // Gets the current sash size which may be 0 if it's hidden and the default + // sash size. int GetSashSize() const; + int GetDefaultSashSize() const; // Gets the border size int GetBorderSize() const;