X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f480da37ca0840ddbe48b908d511d2e9fc20bf4..27a9bd487b5ee30238e35ff4962bf70237cfc2c0:/include/wx/dataobj.h diff --git a/include/wx/dataobj.h b/include/wx/dataobj.h index c1ac807fc3..95e4296b55 100644 --- a/include/wx/dataobj.h +++ b/include/wx/dataobj.h @@ -81,7 +81,9 @@ private: class WXDLLEXPORT wxPrivateDataObject : public wxDataObject { +#ifdef __WXGTK__ DECLARE_DYNAMIC_CLASS( wxPrivateDataObject ) +#endif public: wxPrivateDataObject(); @@ -118,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: