From: Vadim Zeitlin Date: Tue, 10 Nov 2009 17:42:13 +0000 (+0000) Subject: No changes, just remove unnecessary wxOSX_USE_COCOA checks. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b7cc3b72f9a2b49f4219198f18604d055ab61c5e?ds=inline No changes, just remove unnecessary wxOSX_USE_COCOA checks. This file is only compiled in wxOSX/Cocoa build so there is no need to check that we're using Cocoa here. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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)