X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f364be84b91d4e19729634ebf0b119145303a35..e90196a556e288234cacf7e5166f3f4a6d971175:/include/wx/gtk1/dataobj2.h diff --git a/include/wx/gtk1/dataobj2.h b/include/wx/gtk1/dataobj2.h index 8f42fa8703..fee8e27832 100644 --- a/include/wx/gtk1/dataobj2.h +++ b/include/wx/gtk1/dataobj2.h @@ -32,8 +32,6 @@ public: // override base class virtual to update PNG data too virtual void SetBitmap(const wxBitmap& bitmap); - void *GetPngData() const { return m_pngData; } - // implement base class pure virtuals // ---------------------------------- @@ -46,7 +44,6 @@ protected: void Clear() { free(m_pngData); } void ClearAll() { Clear(); Init(); } -private: size_t m_pngSize; void *m_pngData; @@ -63,6 +60,8 @@ public: // implement base class pure virtuals // ---------------------------------- + void AddFile( const wxString &filename ); + virtual size_t GetDataSize() const; virtual bool GetDataHere(void *buf) const; virtual bool SetData(size_t len, const void *buf);