diff --git a/include/wx/msw/ole/dataobj.h b/include/wx/msw/ole/dataobj.h index cdad68606c..f083f6f169 100644 --- a/include/wx/msw/ole/dataobj.h +++ b/include/wx/msw/ole/dataobj.h @@ -54,6 +54,8 @@ public: #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 // ctor & dtor @@ -108,4 +110,4 @@ private: // @@@ TODO: wx{Bitmap|Metafile|...}DataObject // ---------------------------------------------------------------------------- -#endif //_OLEDATAOBJ_H \ No newline at end of file +#endif //_OLEDATAOBJ_H