🏁 update windows message_box function signatures to accept default_button_index....and do nothing with it

This commit is contained in:
leethomas 2016-01-07 22:34:16 -08:00
parent c4c145ef6a
commit dfce803045
3 changed files with 20 additions and 14 deletions

View file

@ -55,12 +55,13 @@ void ShowMessageBox(int type,
if (mate::Converter<atom::MessageBoxCallback>::FromV8(args->isolate(),
peek,
&callback)) {
atom::ShowMessageBox(window, (atom::MessageBoxType)type, buttons, default_button_index,
cancel_id, options, title, message, detail, icon, callback);
atom::ShowMessageBox(window, (atom::MessageBoxType)type, buttons,
default_button_index, cancel_id, options, title,
message, detail, icon, callback);
} else {
int chosen = atom::ShowMessageBox(window, (atom::MessageBoxType)type,
buttons, default_button_index, cancel_id, options, title,
message, detail, icon);
buttons, default_button_index, cancel_id,
options, title, message, detail, icon);
args->Return(chosen);
}
}