]> git.saurik.com Git - wxWidgets.git/commitdiff
Add wxOSX_USE_COCOA around Cocoa-only OSXApplyAttr() method.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 11 Nov 2009 01:36:36 +0000 (01:36 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 11 Nov 2009 01:36:36 +0000 (01:36 +0000)
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

include/wx/osx/dvrenderers.h

index 47225e2ff3d608d90e6f13f92eba4aa0fff3fdcd..01a8998599ee4fe96155a3ac411fb71dd265b5ec 100644 (file)
@@ -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