Implement wxDataViewCtrl::SetRowHeight() on OS X
This commit is contained in:
@@ -506,6 +506,7 @@ public:
|
||||
virtual void HitTest(const wxPoint& point,
|
||||
wxDataViewItem& item,
|
||||
wxDataViewColumn*& columnPtr) const;
|
||||
virtual void SetRowHeight(int height);
|
||||
virtual void SetRowHeight(const wxDataViewItem& item, unsigned int height);
|
||||
virtual void OnSize();
|
||||
|
||||
@@ -520,6 +521,7 @@ public:
|
||||
|
||||
private:
|
||||
void InitOutlineView(long style);
|
||||
int GetDefaultRowHeight() const;
|
||||
|
||||
wxCocoaOutlineDataSource* m_DataSource;
|
||||
|
||||
|
@@ -106,6 +106,7 @@ public:
|
||||
virtual void DoExpand (wxDataViewItem const& item) = 0; // expands the passed item in the native control
|
||||
|
||||
virtual void HitTest (wxPoint const& point, wxDataViewItem& item, wxDataViewColumn*& columnPtr) const = 0; // return the item and column pointer that contains with the passed point
|
||||
virtual void SetRowHeight(int height) = 0; // sets the height of all rows
|
||||
virtual void SetRowHeight(wxDataViewItem const& item, unsigned int height) = 0; // sets the height of the row containg the passed item in the native control
|
||||
virtual void OnSize (void) = 0; // updates the layout of the native control after a size event
|
||||
virtual void StartEditor( const wxDataViewItem & item, unsigned int column ) = 0; // starts editing the passed in item and column
|
||||
|
@@ -179,6 +179,8 @@ public:
|
||||
|
||||
virtual void HitTest(const wxPoint& point, wxDataViewItem& item, wxDataViewColumn*& columnPtr) const wxOVERRIDE;
|
||||
|
||||
virtual bool SetRowHeight(int rowHeight) wxOVERRIDE;
|
||||
|
||||
virtual bool IsSelected(const wxDataViewItem& item) const wxOVERRIDE;
|
||||
|
||||
virtual void SelectAll() wxOVERRIDE;
|
||||
|
Reference in New Issue
Block a user