X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c8fdb345a0467b910260af935353b360bfcbd4f0..e5dcae09e6c207688b41c8b744764d32b7b39a46:/src/osx/cocoa/dataview.mm diff --git a/src/osx/cocoa/dataview.mm b/src/osx/cocoa/dataview.mm index be4074a36e..7de547f6ac 100644 --- a/src/osx/cocoa/dataview.mm +++ b/src/osx/cocoa/dataview.mm @@ -2937,6 +2937,18 @@ void wxDataViewColumn::SetReorderable(bool reorderable) { } +void wxDataViewColumn::SetHidden(bool hidden) +{ + // How to set flag here? + + [m_NativeDataPtr->GetNativeColumnPtr() setHidden:hidden]; +} + +bool wxDataViewColumn::IsHidden() const +{ + return [m_NativeDataPtr->GetNativeColumnPtr() isHidden]; +} + void wxDataViewColumn::SetResizeable(bool resizeable) { wxDataViewColumnBase::SetResizeable(resizeable);