X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/732d8c74f805e35cd398711fcd3969c4c668e259..3017880eff92f202f26262fbcdf1744cb620e3e3:/include/wx/osx/bitmap.h?ds=sidebyside diff --git a/include/wx/osx/bitmap.h b/include/wx/osx/bitmap.h index 9fd20675fb..61420faaec 100644 --- a/include/wx/osx/bitmap.h +++ b/include/wx/osx/bitmap.h @@ -166,9 +166,13 @@ public: // 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;