// returns a CGImageRef which must released after usage with CGImageRelease
CGImageRef CreateCGImage() const ;
-#if wxOSX_USE_COCOA_OR_IPHONE
+#if wxOSX_USE_COCOA
// returns an autoreleased version of the image
WX_NSImage GetNSImage() const;
+#endif
+#if wxOSX_USE_IPHONE
+ // returns an autoreleased version of the image
+ WX_UIImage GetUIImage() const;
#endif
// returns a IconRef which must be retained before and released after usage
IconRef GetIconRef() const;