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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user