]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/core/bitmap.cpp
simpler code
[wxWidgets.git] / src / osx / core / bitmap.cpp
index 331788487f330aac1b10d4ae7782b15b91b0eb1d..ebb6ff260f90d9f8954f490504fc29d6a241f35c 100644 (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