Avoid warning about not supporting setAccessoryViewDisclosed:
We call it inside the check ensuring that it is supported, so suppress
this warning (introduced in the recent e765756555 (OSX file dialog
extensions (#2592), 2021-11-26)) by casting the receiver to the generic
type, just as it's already done elsewhere in wxOSX code.
This commit is contained in:
parent
26c6273a70
commit
1ef8d1d48f
1 changed files with 1 additions and 1 deletions
|
|
@ -439,7 +439,7 @@ void wxFileDialog::SetupExtraControls(WXWindow nativeWindow)
|
|||
[panel setAccessoryView:accView];
|
||||
if ([panel respondsToSelector:@selector(setAccessoryViewDisclosed)])
|
||||
{
|
||||
[panel setAccessoryViewDisclosed:YES];
|
||||
[(id)panel setAccessoryViewDisclosed:YES];
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue