- // For Drag operations
- bool IsDraggable() const { return m_isDraggable; }
- void SetDraggable( bool can_drag = true ) { m_isDraggable = can_drag; }
- int GetDragDataSize() const { return m_dragDataSize; }
- void SetDragDataSize( int size ) { m_dragDataSize = size; }
- void* GetDragDataBuffer() const { return m_dragDataBuffer; }
- void SetDragDataBuffer( void *buffer ) { m_dragDataBuffer = buffer; }
- wxDataFormat GetDataFormat() const { return m_dataFormat; }
+ // For drag operations
+ void SetDataObject( wxDataObject *obj ) { m_dataObject = obj; }
+ wxDataObject *GetDataObject() const { return m_dataObject; }
+
+ // For drop operations