chore: fix compile issue about ambiguous error of multiple methods named 'highlight'. (#43773)
chore: fix ambiguous error of multiple methods named 'highlight'
This commit is contained in:
parent
0ac8ff6439
commit
855f219301
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ NSAlert* CreateNSAlert(const MessageBoxSettings& settings) {
|
||||||
|
|
||||||
// TODO(@codebytere): This behavior violates HIG & should be deprecated.
|
// TODO(@codebytere): This behavior violates HIG & should be deprecated.
|
||||||
if (settings.cancel_id == settings.default_id) {
|
if (settings.cancel_id == settings.default_id) {
|
||||||
[[ns_buttons objectAtIndex:settings.default_id] highlight:YES];
|
[(NSButton*)[ns_buttons objectAtIndex:settings.default_id] highlight:YES];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue