class WXDLLEXPORT wxPrivateDataObject : public wxDataObject
{
+#ifdef __WXGTK__
DECLARE_DYNAMIC_CLASS( wxPrivateDataObject )
+#endif
public:
wxPrivateDataObject();
wxString GetId() const { return m_format.GetId(); }
// implement the base class pure virtuals
- virtual wxDataFormatId GetPreferredFormat() const
+ virtual wxDataFormat GetPreferredFormat() const
{ return m_format; }
virtual bool IsSupportedFormat(wxDataFormat format) const
{ return m_format == format; }
virtual void GetDataHere(void *dest) const
{ WriteData(dest); }
-protected:
// the function which really copies the data - called by WriteData() above
// and uses GetSize() to get the size of the data
- //
- // VZ: I really wonder why do we need it
void WriteData( const void *data, void *dest ) const;
private: