From 83527a0ab20a284bf97016fac98a4ccbd7496456 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 22 Aug 2010 23:45:58 +0000 Subject: [PATCH] Document that wxFD_FILE_MUST_EXIST is implied under OS X. Mention in the documentation that the standard file open dialog under OS X can't be used to select a non-existing file. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/filedlg.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/interface/wx/filedlg.h b/interface/wx/filedlg.h index 5a1ca28e44..6e28ee3b0b 100644 --- a/interface/wx/filedlg.h +++ b/interface/wx/filedlg.h @@ -101,7 +101,11 @@ For save dialog only: prompt for a confirmation if a file will be overwritten. @style{wxFD_FILE_MUST_EXIST} - For open dialog only: the user may only select files that actually exist. + For open dialog only: the user may only select files that actually + exist. Notice that under OS X the file dialog with @c wxFD_OPEN + style always behaves as if this style was specified, because it is + impossible to choose a file that doesn't exist from a standard OS X + file dialog. @style{wxFD_MULTIPLE} For open dialog only: allows selecting multiple files. @style{wxFD_CHANGE_DIR} -- 2.50.0