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:
@@ -86,7 +86,11 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
virtual void SetAttr(const wxDataViewItemAttr& attr) wxOVERRIDE;
|
virtual void SetAttr(const wxDataViewItemAttr& attr) wxOVERRIDE;
|
||||||
virtual void SetEnabled(bool enabled) 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:
|
private:
|
||||||
// contains the alignment flags
|
// contains the alignment flags
|
||||||
|
Reference in New Issue
Block a user