add IsShown() accessor which is sometimes more convenient than IsHidden()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-12-05 21:49:34 +00:00
parent 4a6665c6eb
commit 78fd3d12bc
2 changed files with 9 additions and 0 deletions

View File

@@ -148,6 +148,8 @@ public:
{ ChangeFlag(wxCOL_HIDDEN, hidden); }
virtual bool IsHidden() const
{ return HasFlag(wxCOL_HIDDEN); }
bool IsShown() const
{ return !IsHidden(); }
// for sortable columns indicate whether we should sort in ascending or
// descending order