🍎 add default button index for osx
This commit is contained in:
parent
5514e89276
commit
f1edd5f26f
4 changed files with 28 additions and 9 deletions
|
@ -38,6 +38,7 @@ int ShowMessageBox(NativeWindow* parent_window,
|
|||
MessageBoxType type,
|
||||
const std::vector<std::string>& buttons,
|
||||
int cancel_id,
|
||||
int default_button_index,
|
||||
int options,
|
||||
const std::string& title,
|
||||
const std::string& message,
|
||||
|
@ -47,6 +48,7 @@ int ShowMessageBox(NativeWindow* parent_window,
|
|||
void ShowMessageBox(NativeWindow* parent_window,
|
||||
MessageBoxType type,
|
||||
const std::vector<std::string>& buttons,
|
||||
int default_button_index,
|
||||
int cancel_id,
|
||||
int options,
|
||||
const std::string& title,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue