mac cleanup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2007-11-23 19:25:21 +00:00
parent e06b0afba5
commit 968c951fe1
8 changed files with 170 additions and 62 deletions

View File

@@ -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 )
{