]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dataview.h
Add wxOSX_USE_COCOA around Cocoa-only OSXApplyAttr() method.
[wxWidgets.git] / include / wx / dataview.h
index fd2ec0b4d7a45d3d669cb4ef61679bfa601b19fb..8be8ad3dfdc39d0d5349267dc75adc9611c8373f 100644 (file)
@@ -166,6 +166,8 @@ public:
     bool GetBold() const { return m_bold; }
     bool GetItalic() const { return m_italic; }
 
+    bool IsDefault() const { return !(HasColour() || HasFont()); }
+
 private:
     wxColour m_colour;
     bool     m_bold;