X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5179bc0bca526f0297d8930838ad4112faa967cd..0aa619b53203461ec07541f0ba5ebe4aaf4f7184:/include/wx/dataview.h diff --git a/include/wx/dataview.h b/include/wx/dataview.h index 3f87c82485..4c09225ef0 100644 --- a/include/wx/dataview.h +++ b/include/wx/dataview.h @@ -26,7 +26,7 @@ #include "wx/weakref.h" #if !(defined(__WXGTK20__) || defined(__WXMAC__)) || defined(__WXUNIVERSAL__) -//#if !(defined(__WXMAC__)) || defined(__WXUNIVERSAL__) +// #if !(defined(__WXMAC__)) || defined(__WXUNIVERSAL__) #define wxHAS_GENERIC_DATAVIEWCTRL #endif @@ -713,6 +713,7 @@ public: virtual void UnselectAll() = 0; virtual void Expand( const wxDataViewItem & item ) = 0; + virtual void ExpandAncestors( const wxDataViewItem & item ); virtual void Collapse( const wxDataViewItem & item ) = 0; virtual bool IsExpanded( const wxDataViewItem & item ) const = 0; @@ -879,7 +880,7 @@ private: long m_min,m_max; }; -#if defined(wxHAS_GENERIC_DATAVIEWCTRL) || defined(wxMAC) +#if defined(wxHAS_GENERIC_DATAVIEWCTRL) || defined(__WXMAC__) // ------------------------------------- // wxDataViewChoiceRenderer