+ {
+ wxTextDataObject* textDataObject = (wxTextDataObject*) data;
+ wxCharBuffer buf = textDataObject->GetText().mb_str() ;
+ err = UMAPutScrap( strlen(buf) , kScrapFlavorTypeText , (void*) buf.data() ) ;
+ }
+ break ;
+#if wxUSE_UNICODE
+ case wxDF_UNICODETEXT :