X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/26f86486b088495eeff542ec7d43caf78601fac1..39ca6d790b4629bdacd5ea15e0169aa17fb1d53f:/include/wx/msw/ole/dataobj.h diff --git a/include/wx/msw/ole/dataobj.h b/include/wx/msw/ole/dataobj.h index 9ffe673ffe..80a1e13e43 100644 --- a/include/wx/msw/ole/dataobj.h +++ b/include/wx/msw/ole/dataobj.h @@ -131,17 +131,15 @@ public: virtual wxDataFormat GetFormat() const { return wxDF_BITMAP; } -/* ?? // implement base class pure virtuals virtual wxDataFormat GetPreferredFormat() const - { return (wxDataFormat) wxDataObject::Text; } + { return (wxDataFormat) wxDataObject::Bitmap; } virtual bool IsSupportedFormat(wxDataFormat format) const - { return format == wxDataObject::Text || format == wxDataObject::Locale; } + { return format == wxDataObject::Bitmap; } virtual size_t GetDataSize() const - { return m_strText.Len() + 1; } // +1 for trailing '\0'of course + { wxASSERT(false); return 0; } // BEMIMP virtual void GetDataHere(void *pBuf) const - { memcpy(pBuf, m_strText.c_str(), GetDataSize()); } -*/ + { wxASSERT(false); } // BEMIMP private: wxBitmap m_bitmap;