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
- inline const char* GetFormatName(wxDataFormat format) { return ""; }
- #endif
+ // function to return symbolic name of clipboard format (debug messages)
+ static const char *GetFormatName(wxDataFormat format);
// ctor & dtor
wxDataObject();
// 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