Added wxSplitterWindow::SetSashInvisible() and IsSashInvisible().
Also fix handling of wxSP_NOSASH. Closes #14074. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user