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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user