Rename wxBitmap::GetImage() to OSXGetImage()

Make it more clear that this function is specific to Mac ports.
This commit is contained in:
Vadim Zeitlin
2021-09-03 21:31:45 +02:00
parent be923dc9fe
commit 2574b9172e
2 changed files with 5 additions and 5 deletions

View File

@@ -205,16 +205,16 @@ public:
CGImageRef CreateCGImage() const ;
// returns nil for invalid bitmap
WXImage GetImage() const;
WXImage OSXGetImage() const;
#if wxOSX_USE_COCOA
// returns an autoreleased version of the image
WX_NSImage GetNSImage() const
{ return GetImage(); }
{ return OSXGetImage(); }
#endif
#if wxOSX_USE_IPHONE
// returns an autoreleased version of the image
WX_UIImage GetUIImage() const
{ return GetImage(); }
{ return OSXGetImage(); }
#endif
#if WXWIN_COMPATIBILITY_3_0