Add wxDataViewEvent::InitData() helper
Reuse it from both the generic and macOS versions to avoid doing the same thing in both of them.
This commit is contained in:
@@ -936,6 +936,9 @@ public:
|
||||
// insertion of items, this is the proposed child index for the insertion.
|
||||
void SetProposedDropIndex(int index) { m_proposedDropIndex = index; }
|
||||
int GetProposedDropIndex() const { return m_proposedDropIndex;}
|
||||
|
||||
// Internal, only used by wxWidgets itself.
|
||||
void InitData(wxDataObjectComposite* obj, wxDataFormat format);
|
||||
#endif // wxUSE_DRAG_AND_DROP
|
||||
|
||||
virtual wxEvent *Clone() const wxOVERRIDE { return new wxDataViewEvent(*this); }
|
||||
|
||||
Reference in New Issue
Block a user