X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/329b53d8ff1fdd322af046f9b93f3a9b7f0befa1..da468d387db3b7e22b008bf08be2ff6b202508fb:/include/wx/msw/ole/dataobj.h diff --git a/include/wx/msw/ole/dataobj.h b/include/wx/msw/ole/dataobj.h index f083f6f169..23b6141f24 100644 --- a/include/wx/msw/ole/dataobj.h +++ b/include/wx/msw/ole/dataobj.h @@ -51,12 +51,8 @@ public: Max }; - #ifdef __DEBUG__ - // function to return symbolic name of clipboard format (debug messages) - static const char *GetFormatName(wxDataFormat format); - #else // not used in release mode - #define GetFormatName(format) "" - #endif + // function to return symbolic name of clipboard format (debug messages) + static const char *GetFormatName(wxDataFormat format); // ctor & dtor wxDataObject(); @@ -94,7 +90,7 @@ public: // implement base class pure virtuals virtual wxDataFormat GetPreferredFormat() const - { return wxDataObject::Text; } + { return (wxDataFormat) wxDataObject::Text; } virtual bool IsSupportedFormat(wxDataFormat format) const { return format == wxDataObject::Text || format == wxDataObject::Locale; } virtual uint GetDataSize() const