name change to correctly reflect the autorelease nature of the methods, removing double release, fixes #11547, fixes #11760

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2010-04-12 16:29:35 +00:00
parent ad05cdb74c
commit 59d866ad85
4 changed files with 7 additions and 9 deletions

View File

@@ -1028,7 +1028,7 @@ IconRef wxBitmap::CreateIconRef() const
WX_NSImage wxBitmap::GetNSImage() const
{
wxCFRef< CGImageRef > cgimage(CreateCGImage());
return wxOSXCreateNSImageFromCGImage( cgimage );
return wxOSXGetNSImageFromCGImage( cgimage );
}
#endif
@@ -1038,7 +1038,7 @@ WX_NSImage wxBitmap::GetNSImage() const
WX_UIImage wxBitmap::GetUIImage() const
{
wxCFRef< CGImageRef > cgimage(CreateCGImage());
return wxOSXCreateUIImageFromCGImage( cgimage );
return wxOSXGetUIImageFromCGImage( cgimage );
}
#endif