mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-17 17:02:51 +08:00
Document wxOSX_FILEDIALOG_ALWAYS_SHOW_TYPES constant
This will make it available in wxPython, so that the programs that need it could use the symbolic constant instead of its string expansion. Also fix a typo: does -> do Closes #25920.
This commit is contained in:
@@ -20,6 +20,14 @@ enum
|
||||
|
||||
#define wxFD_DEFAULT_STYLE wxFD_OPEN
|
||||
|
||||
/**
|
||||
Name of the system option forcing the display of file type filters in
|
||||
wxOSX.
|
||||
|
||||
@see @ref filedialog_filters
|
||||
*/
|
||||
#define wxOSX_FILEDIALOG_ALWAYS_SHOW_TYPES "osx.openfiledialog.always-show-types"
|
||||
|
||||
/**
|
||||
Default wildcard string used in wxFileDialog corresponding to all files.
|
||||
|
||||
@@ -116,7 +124,7 @@ const char wxFileSelectorDefaultWildcardStr[];
|
||||
@endcode
|
||||
But in contrast to Windows and Unix, where the file type choice filters only
|
||||
the selected files, on Mac macOS even in this case the dialog shows all files
|
||||
matching all file types. The files which does not match the currently selected
|
||||
matching all file types. The files which do not match the currently selected
|
||||
file type are greyed out and are not selectable.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user