macOS, iOS native implementation for wxStaticBitmap

templated native images are not drawing correctly using the low-level drawing calls, therefore use the native Image Views
This commit is contained in:
Stefan Csomor
2018-09-25 15:22:56 +02:00
parent 13a96c586f
commit 19c4d8cf3e
10 changed files with 414 additions and 15 deletions

View File

@@ -119,6 +119,7 @@ CGImageRef WXDLLIMPEXP_CORE wxOSXCreateCGImageFromImage( WXImage nsimage, double
CGImageRef WXDLLIMPEXP_CORE wxOSXGetCGImageFromImage( WXImage nsimage, CGRect* r, CGContextRef cg);
CGContextRef WXDLLIMPEXP_CORE wxOSXCreateBitmapContextFromImage( WXImage nsimage, bool *isTemplate = NULL);
WXImage WXDLLIMPEXP_CORE wxOSXGetImageFromCGImage( CGImageRef image, double scale = 1.0, bool isTemplate = false);
double WXDLLIMPEXP_CORE wxOSXGetImageScaleFactor(WXImage image);
class wxWindowMac;