Fix wxOSX/Carbon build after wxDataViewRenderer changes

Since 361c6357b4 wxDataViewRenderer's
SetAttr and SetEnabled became pure virtual class methods which aren't
implemented for wxOSX/Carbon. Fix by defining the same empty stubs for
these methods as were previously present in the base class.
This commit is contained in:
Dimitri Schoolwerth 2015-11-07 21:47:00 +04:00
parent ef62616b12
commit a1863a397c

View File

@ -86,7 +86,11 @@ public:
protected:
virtual void SetAttr(const wxDataViewItemAttr& attr) wxOVERRIDE;
virtual void SetEnabled(bool enabled) wxOVERRIDE;
#endif // Cocoa
#else
protected:
void SetAttr(const wxDataViewItemAttr& WXUNUSED(attr)) wxOVERRIDE { };
void SetEnabled(bool WXUNUSED(enabled)) wxOVERRIDE { };
#endif
private:
// contains the alignment flags