]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/dvrenderers.h
Clarify documentation for wxPropertyGridEvent::GetProperty()
[wxWidgets.git] / include / wx / osx / dvrenderers.h
index 39a122f5574083678b0f9bb77288d8db9379c61c..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
@@ -56,9 +58,11 @@ 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,6 +85,8 @@ private:
     DECLARE_DYNAMIC_CLASS_NO_COPY(wxDataViewBitmapRenderer)
 };
 
+#if wxOSX_USE_COCOA
+
 // -------------------------------------
 // wxDataViewChoiceRenderer
 // -------------------------------------
@@ -103,6 +109,8 @@ private:
     DECLARE_DYNAMIC_CLASS_NO_COPY(wxDataViewChoiceRenderer)
 };
 
+#endif // wxOSX_USE_COCOA
+
 // ---------------------------------------------------------
 // wxDataViewIconTextRenderer
 // ---------------------------------------------------------
@@ -115,9 +123,11 @@ 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)
@@ -136,9 +146,11 @@ 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)
@@ -158,9 +170,11 @@ 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)
@@ -179,9 +193,11 @@ 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)