diff --git a/include/wx/osx/dvrenderers.h b/include/wx/osx/dvrenderers.h index 5e99532df4..c2b0765ef8 100644 --- a/include/wx/osx/dvrenderers.h +++ b/include/wx/osx/dvrenderers.h @@ -54,11 +54,9 @@ public: virtual bool MacRender(); -#if wxOSX_USE_COCOA virtual void OSXOnCellChanged(NSObject *value, const wxDataViewItem& item, unsigned col); -#endif // Cocoa private: DECLARE_DYNAMIC_CLASS_NO_COPY(wxDataViewTextRenderer) @@ -81,8 +79,6 @@ private: DECLARE_DYNAMIC_CLASS_NO_COPY(wxDataViewBitmapRenderer) }; -#if wxOSX_USE_COCOA - // ------------------------------------- // wxDataViewChoiceRenderer // ------------------------------------- @@ -105,8 +101,6 @@ private: DECLARE_DYNAMIC_CLASS_NO_COPY(wxDataViewChoiceRenderer) }; -#endif // wxOSX_USE_COCOA - // --------------------------------------------------------- // wxDataViewIconTextRenderer // --------------------------------------------------------- @@ -119,11 +113,9 @@ public: virtual bool MacRender(); -#if wxOSX_USE_COCOA virtual void OSXOnCellChanged(NSObject *value, const wxDataViewItem& item, unsigned col); -#endif // Cocoa private: DECLARE_DYNAMIC_CLASS_NO_COPY(wxDataViewIconTextRenderer) @@ -142,11 +134,9 @@ public: virtual bool MacRender(); -#if wxOSX_USE_COCOA virtual void OSXOnCellChanged(NSObject *value, const wxDataViewItem& item, unsigned col); -#endif // Cocoa private: DECLARE_DYNAMIC_CLASS_NO_COPY(wxDataViewToggleRenderer) @@ -166,11 +156,9 @@ public: virtual bool MacRender(); -#if wxOSX_USE_COCOA virtual void OSXOnCellChanged(NSObject *value, const wxDataViewItem& item, unsigned col); -#endif // Cocoa private: DECLARE_DYNAMIC_CLASS_NO_COPY(wxDataViewProgressRenderer) @@ -189,11 +177,9 @@ public: virtual bool MacRender(); -#if wxOSX_USE_COCOA virtual void OSXOnCellChanged(NSObject *value, const wxDataViewItem& item, unsigned col); -#endif // Cocoa private: DECLARE_DYNAMIC_CLASS_NO_COPY(wxDataViewDateRenderer)