Add wxAuiPaneInfo::IsDockable().
This function checks if the pane can be docked at any side. It is useful in its own right but most importantly is needed to fix compilation broken in r66005 which used it before it was added. See #12648. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ca81b52e62
commit
ab84bafe49
@ -239,6 +239,11 @@ public:
|
||||
bool IsBottomDockable() const { return HasFlag(optionBottomDockable); }
|
||||
bool IsLeftDockable() const { return HasFlag(optionLeftDockable); }
|
||||
bool IsRightDockable() const { return HasFlag(optionRightDockable); }
|
||||
bool IsDockable() const
|
||||
{
|
||||
return HasFlag(optionTopDockable | optionBottomDockable |
|
||||
optionLeftDockable | optionRightDockable);
|
||||
}
|
||||
bool IsFloatable() const { return HasFlag(optionFloatable); }
|
||||
bool IsMovable() const { return HasFlag(optionMovable); }
|
||||
bool IsDestroyOnClose() const { return HasFlag(optionDestroyOnClose); }
|
||||
|
@ -573,11 +573,22 @@ public:
|
||||
/**
|
||||
IsBottomDockable() returns @true if the pane can be docked at the bottom of the
|
||||
managed frame.
|
||||
|
||||
@see IsDockable()
|
||||
*/
|
||||
bool IsBottomDockable() const;
|
||||
|
||||
/**
|
||||
IsDocked() returns @true if the pane is docked.
|
||||
Returns @true if the pane can be docked at any side.
|
||||
|
||||
@see IsTopDockable(), IsBottomDockable(), IsLeftDockable(), IsRightDockable()
|
||||
|
||||
@since 2.9.2
|
||||
*/
|
||||
bool IsDockable() const;
|
||||
|
||||
/**
|
||||
IsDocked() returns @true if the pane is currently docked.
|
||||
*/
|
||||
bool IsDocked() const;
|
||||
|
||||
@ -600,6 +611,8 @@ public:
|
||||
/**
|
||||
IsLeftDockable() returns @true if the pane can be docked on the left of the
|
||||
managed frame.
|
||||
|
||||
@see IsDockable()
|
||||
*/
|
||||
bool IsLeftDockable() const;
|
||||
|
||||
@ -623,6 +636,8 @@ public:
|
||||
/**
|
||||
IsRightDockable() returns @true if the pane can be docked on the right of the
|
||||
managed frame.
|
||||
|
||||
@see IsDockable()
|
||||
*/
|
||||
bool IsRightDockable() const;
|
||||
|
||||
@ -639,6 +654,8 @@ public:
|
||||
/**
|
||||
IsTopDockable() returns @true if the pane can be docked at the top of the
|
||||
managed frame.
|
||||
|
||||
@see IsDockable()
|
||||
*/
|
||||
bool IsTopDockable() const;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user