// Created: 10.05.98
// RCS-ID: $Id$
// Copyright: (c) 1998 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
-// Licence: wxWindows license
+// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
-#ifndef _OLEDATAOBJ_H
-#define _OLEDATAOBJ_H
+#ifndef _WX_OLEDATAOBJ_H
+#define _WX_OLEDATAOBJ_H
// ----------------------------------------------------------------------------
// forward declarations
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();
// 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
// @@@ TODO: wx{Bitmap|Metafile|...}DataObject
// ----------------------------------------------------------------------------
-#endif //_OLEDATAOBJ_H
+#endif //_WX_OLEDATAOBJ_H