// resources
// ----------------------------------------------------------------------------
-#ifndef __WXMSW__
+#ifndef wxHAS_IMAGES_IN_RESOURCES
#include "../sample.xpm"
#endif
wxTextDataObject *obj = new wxTextDataObject;
obj->SetText( node->m_title );
event.SetDataObject( obj );
+ event.SetDragFlags(wxDrag_AllowMove); // allows both copy and move
}
void MyFrame::OnDropPossible( wxDataViewEvent &event )