add wxMask::GetBitmap(), closes #9381
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1173,12 +1173,10 @@ wxMask *wxBitmap::GetMask() const
|
||||
return GetBitmapData() ? GetBitmapData()->GetMask() : NULL;
|
||||
}
|
||||
|
||||
wxBitmap wxBitmap::GetMaskBitmap() const
|
||||
wxBitmap wxMask::GetBitmap() const
|
||||
{
|
||||
wxBitmap bmp;
|
||||
wxMask *mask = GetMask();
|
||||
if ( mask )
|
||||
bmp.SetHBITMAP(mask->GetMaskBitmap());
|
||||
bmp.SetHBITMAP(m_maskBitmap);
|
||||
return bmp;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user