first pass of wxUniv merge - nothing works, most parts don't even compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1039,6 +1039,10 @@ bool wxMask::Create(const wxBitmap& bitmap, const wxColour& colour)
|
||||
|
||||
bool ok = TRUE;
|
||||
|
||||
// SelectObject() will fail
|
||||
wxASSERT_MSG( !bitmap.GetSelectedInto(),
|
||||
_T("bitmap can't be selected in another DC") );
|
||||
|
||||
HGDIOBJ hbmpSrcOld = ::SelectObject(srcDC, GetHbitmapOf(bitmap));
|
||||
if ( !hbmpSrcOld )
|
||||
{
|
||||
|
Reference in New Issue
Block a user