Use wxBitmap::GetUIImage() in wxiOS code

It looks like this should be the right function to use, rather than the
more generic GetImage() which is going to be renamed in the upcoming
commits.
This commit is contained in:
Vadim Zeitlin
2021-09-03 21:26:05 +02:00
parent 0f79f69d88
commit 6f4c57260b

View File

@@ -111,7 +111,7 @@ wxWidgetImplType* wxWidgetImpl::CreateBitmapButton( wxWindowMac* wxpeer,
v.frame = r;
if (bitmap.IsOk())
[v setImage:bitmap.GetImage() forState:UIControlStateNormal];
[v setImage:bitmap.GetUIImage() forState:UIControlStateNormal];
wxWidgetIPhoneImpl* c = new wxWidgetIPhoneImpl( wxpeer, v );
return c;