commenting never used code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -639,6 +639,9 @@ CGImageRef wxBitmapRefData::CreateCGImage() const
|
|||||||
{
|
{
|
||||||
if ( m_depth != 1 && m_bitmapMask == NULL )
|
if ( m_depth != 1 && m_bitmapMask == NULL )
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
|
// in order for this code to work properly, wxMask would have to invert black and white
|
||||||
|
// in the native bitmap
|
||||||
if ( m_bitmapMask )
|
if ( m_bitmapMask )
|
||||||
{
|
{
|
||||||
CGImageRef tempImage = CGBitmapContextCreateImage( m_hBitmap );
|
CGImageRef tempImage = CGBitmapContextCreateImage( m_hBitmap );
|
||||||
@@ -648,6 +651,7 @@ CGImageRef wxBitmapRefData::CreateCGImage() const
|
|||||||
CGImageRelease(tempImage);
|
CGImageRelease(tempImage);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
#endif
|
||||||
image = CGBitmapContextCreateImage( m_hBitmap );
|
image = CGBitmapContextCreateImage( m_hBitmap );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user