Merged trunk 47757:
* Implement the wxMask copy constructor to retain the source object's m_cocoaNSBitmapImageRep (fixes multiple release bug). * Add some debug messages for unimplemented wxMask::Create overloads. * Implement mask creation w/ key color from 8-bpp grayscale bitmap. This makes the mask image in the drawing sample's mask page work. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -43,6 +43,9 @@ public:
|
||||
// Construct a mask from a mono bitmap (copies the bitmap).
|
||||
wxMask(const wxBitmap& bitmap);
|
||||
|
||||
// Copy constructor
|
||||
wxMask(const wxMask& src);
|
||||
|
||||
virtual ~wxMask();
|
||||
|
||||
bool Create(const wxBitmap& bitmap, const wxColour& colour);
|
||||
|
Reference in New Issue
Block a user