X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9e2896e5c8944c5f5227fa080e1b781c4a6f2600..c9057ae1c565cc4ae6c2cf84dd19d65a64ee2b7b:/include/wx/dataobj.h diff --git a/include/wx/dataobj.h b/include/wx/dataobj.h index 572b4f12d2..aa49135e6a 100644 --- a/include/wx/dataobj.h +++ b/include/wx/dataobj.h @@ -331,7 +331,7 @@ public: virtual wxBitmap GetBitmap() const { return m_bitmap; } virtual void SetBitmap(const wxBitmap& bitmap) { m_bitmap = bitmap; } -private: +protected: wxBitmap m_bitmap; }; @@ -349,7 +349,7 @@ public: wxFileDataObjectBase() : wxDataObjectSimple(wxDF_FILENAME) { } // get a reference to our array - const wxArrayString& GetFilenames() { return m_filenames; } + const wxArrayString& GetFilenames() const { return m_filenames; } // the Get() functions do nothing for us virtual size_t GetDataSize() const { return 0; }