X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/61e33e31ab7ca812fbcbb48422c43b2b56f5eb87..9026ad85a9792a6e5a6b41320886b154c38a9d0d:/include/wx/dataobj.h?ds=sidebyside diff --git a/include/wx/dataobj.h b/include/wx/dataobj.h index 12164ccd54..95e4296b55 100644 --- a/include/wx/dataobj.h +++ b/include/wx/dataobj.h @@ -81,6 +81,9 @@ private: class WXDLLEXPORT wxPrivateDataObject : public wxDataObject { +#ifdef __WXGTK__ + DECLARE_DYNAMIC_CLASS( wxPrivateDataObject ) +#endif public: wxPrivateDataObject(); @@ -117,11 +120,8 @@ public: 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: