- GetFlavorData( (DragReference)m_currentDrag, theItem, theType, (void*) theData, &dataSize, 0L );
- if ( theType == kScrapFlavorTypeText )
- {
- theData[dataSize] = 0 ;
- m_dataObject->SetData( wxDataFormat(wxDF_TEXT), dataSize , theData );
- }
- #if wxUSE_UNICODE
- else if ( theType == kScrapFlavorTypeUnicode )
+ GetFlavorData( (DragReference)m_currentDrag, theItem, theType, (void*)theData, &dataSize, 0L );
+ switch (theType)