]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/ole/dataobj.h
MSW Caret is now destroyed and recreated when resized.
[wxWidgets.git] / include / wx / msw / ole / dataobj.h
index fe47ce3bf3a5dfc3a09392481331af1b2a5b9280..31af6d7da8fe7110dcf0622a86a9582919d68f55 100644 (file)
@@ -42,7 +42,11 @@ public:
 #ifdef __WXDEBUG__
     // function to return symbolic name of clipboard format (for debug messages)
     static const char *GetFormatName(wxDataFormat format);
-#endif // Debug
+
+    #define wxGetFormatName(format) wxDataObject::GetFormatName(format)
+#else // !Debug
+    #define wxGetFormatName(format) ""
+#endif // Debug/!Debug
 
 private:
     IDataObject *m_pIDataObject; // pointer to the COM interface