Send wxEVT_DATAVIEW_COLUMN_REORDERED in generic wxDataViewCtrl
Simply translate wxEVT_HEADER_END_REORDER into this event, which was previously only sent by the macOS version. GtkTreeView doesn't seem to support column drag-and-drop at all, so this event is still never generated by wxGTK. Closes #14297.
This commit is contained in:
@@ -903,11 +903,11 @@ public:
|
||||
wxDEPRECATED_MSG("Pass the argument to the ctor instead")
|
||||
void SetDataViewColumn( wxDataViewColumn *col ) { m_column = col; }
|
||||
wxDEPRECATED_MSG("Pass the argument to the ctor instead")
|
||||
void SetColumn( int col ) { m_col = col; }
|
||||
wxDEPRECATED_MSG("Pass the argument to the ctor instead")
|
||||
void SetItem( const wxDataViewItem &item ) { m_item = item; }
|
||||
#endif // WXWIN_COMPATIBILITY_3_0
|
||||
|
||||
void SetColumn( int col ) { m_col = col; }
|
||||
|
||||
protected:
|
||||
wxDataViewItem m_item;
|
||||
int m_col;
|
||||
|
Reference in New Issue
Block a user