don't modify all wxBitmaps sharing the same wxBitmapRefData when SetMask() is called

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-07-23 18:52:18 +00:00
parent 6726a6b097
commit 7ff64980aa
3 changed files with 64 additions and 11 deletions

View File

@@ -179,6 +179,7 @@ protected:
void Init();
virtual wxGDIImageRefData *CreateData() const;
virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const;
// creates the bitmap from XPM data, supposed to be called from ctor
bool CreateFromXpm(const char **bits);