Add support for FOS_CREATEPROMPT option
This commit is contained in:
parent
dc1c11a841
commit
9fef6a1fd7
4 changed files with 16 additions and 4 deletions
|
@ -205,6 +205,8 @@ bool ShowOpenDialog(atom::NativeWindow* parent_window,
|
|||
options |= FOS_ALLOWMULTISELECT;
|
||||
if (properties & FILE_DIALOG_SHOW_HIDDEN_FILES)
|
||||
options |= FOS_FORCESHOWHIDDEN;
|
||||
if (properties & FILE_DIALOG_PROMPT_TO_CREATE)
|
||||
options |= FOS_CREATEPROMPT;
|
||||
|
||||
FileDialog<CShellFileOpenDialog> open_dialog(
|
||||
default_path, title, button_label, filters, options);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue