On Windows "Cancel" button is also forced to be canclId
This commit is contained in:
parent
9793473b10
commit
aab78db8b8
2 changed files with 2 additions and 8 deletions
|
@ -79,8 +79,8 @@ will be passed via `callback(filename)`
|
|||
* `cancelId` Integer - The value will be returned when user cancels the dialog
|
||||
instead of clicking the buttons of the dialog. By default it is the index
|
||||
of the buttons that have "cancel" or "no" as label, or 0 if there is no such
|
||||
buttons. On OS X the index of "Cancel" button will always be used as
|
||||
`cancelId`, not matter whether it is already specified.
|
||||
buttons. On OS X and Windows the index of "Cancel" button will always be
|
||||
used as `cancelId`, not matter whether it is already specified.
|
||||
* `callback` Function
|
||||
|
||||
Shows a message box, it will block until the message box is closed. It returns
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue