+ case wxDF_TEXT:
+ m_format = kScrapFlavorTypeText;
+ break;
+
+ case wxDF_UNICODETEXT:
+ m_format = kScrapFlavorTypeUnicode;
+ break;
+
+ case wxDF_BITMAP:
+ case wxDF_METAFILE:
+ m_format = kScrapFlavorTypePicture;
+ break;
+
+ case wxDF_FILENAME:
+ m_format = kDragFlavorTypeHFS;
+ break;
+
+ default:
+ wxFAIL_MSG( wxT("invalid data format") );
+
+ // NB: this translates to '????' ASCII but it can't be used in the code
+ // because '??' will get parsed as a trigraph!
+ m_format = 0x3f3f3f3f;
+ break;