mac cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -117,7 +117,7 @@ public :
|
||||
{
|
||||
wxASSERT( bmp && bmp->Ok() );
|
||||
|
||||
Init( (CGImageRef) bmp->CGImageCreate() , transform );
|
||||
Init( (CGImageRef) bmp->CreateCGImage() , transform );
|
||||
}
|
||||
|
||||
// ImagePattern takes ownership of CGImageRef passed in
|
||||
@@ -1650,7 +1650,7 @@ void wxMacCoreGraphicsContext::DrawBitmap( const wxBitmap &bmp, wxDouble x, wxDo
|
||||
{
|
||||
EnsureIsValid();
|
||||
|
||||
CGImageRef image = (CGImageRef)( bmp.CGImageCreate() );
|
||||
CGImageRef image = (CGImageRef)( bmp.CreateCGImage() );
|
||||
HIRect r = CGRectMake( x , y , w , h );
|
||||
if ( bmp.GetDepth() == 1 )
|
||||
{
|
||||
|
Reference in New Issue
Block a user