Implement wxMask copy ctor for wxGTK.
Without copy ctor copying masks simply crashed because the same pointer was deleted twice. Also added a (completely trivial but better than nothing...) unit test for wxBitmap to check that copying masks does work now. Closes #11854. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -21,6 +21,7 @@ class WXDLLIMPEXP_CORE wxMask: public wxMaskBase
|
||||
{
|
||||
public:
|
||||
wxMask();
|
||||
wxMask(const wxMask& mask);
|
||||
wxMask( const wxBitmap& bitmap, const wxColour& colour );
|
||||
#if wxUSE_PALETTE
|
||||
wxMask( const wxBitmap& bitmap, int paletteIndex );
|
||||
|
Reference in New Issue
Block a user