From: Vadim Zeitlin Date: Wed, 11 Nov 2009 01:36:36 +0000 (+0000) Subject: Add wxOSX_USE_COCOA around Cocoa-only OSXApplyAttr() method. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/061a5c21db500d9f1b684ef6bb63be3a2accdd9d?ds=inline Add wxOSX_USE_COCOA around Cocoa-only OSXApplyAttr() method. This method is used in wxOSX/Cocoa only. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/osx/dvrenderers.h b/include/wx/osx/dvrenderers.h index 47225e2ff3..01a8998599 100644 --- a/include/wx/osx/dvrenderers.h +++ b/include/wx/osx/dvrenderers.h @@ -30,7 +30,9 @@ public: virtual bool MacRender(); +#if wxOSX_USE_COCOA virtual void OSXApplyAttr(const wxDataViewItemAttr& attr); +#endif // Cocoa virtual wxDC* GetDC(); // creates a device context and keeps it void SetDC(wxDC* newDCPtr); // this method takes ownership of the pointer