1. wxFileDialog patch for multiple selection applied (with some small changes),
added demo for it in the sample and documented 2. wxMimeTypeManager works a bit better under Windows (doesn't ignore the extensions without filetypes) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -68,6 +68,7 @@ Constructor. Use \helpref{wxFileDialog::ShowModal}{wxfiledialogshowmodal} to sho
|
||||
\twocolitem{{\bf wxSAVE}}{This is a save dialog.}
|
||||
\twocolitem{{\bf wxHIDE\_READONLY}}{Hide read-only files.}
|
||||
\twocolitem{{\bf wxOVERWRITE\_PROMPT}}{Prompt for a conformation if a file will be overridden.}
|
||||
\twocolitem{{\bf wxMULTIPLE}}{For open dialog only: allows selecting multiple files}
|
||||
\end{twocollist}%
|
||||
}
|
||||
|
||||
@@ -91,6 +92,14 @@ Returns the default directory.
|
||||
|
||||
Returns the default filename.
|
||||
|
||||
\membersection{wxFileDialog::GetFilenames}\label{wxfiledialoggetfilenames}
|
||||
|
||||
\constfunc{void}{GetFilenames}{\param{wxArrayString\& }{filenames}}
|
||||
|
||||
Fills the array {\it filenames} with the names of the files chosen. This
|
||||
function should only be used with the dialogs which have {\tt wxMULTIPLE} style,
|
||||
use \helpref{GetFilename}{wxfiledialoggetfilename} for the others.
|
||||
|
||||
\membersection{wxFileDialog::GetFilterIndex}\label{wxfiledialoggetfilterindex}
|
||||
|
||||
\constfunc{int}{GetFilterIndex}{\void}
|
||||
@@ -111,6 +120,14 @@ Returns the message that will be displayed on the dialog.
|
||||
|
||||
Returns the full path (directory and filename) of the selected file.
|
||||
|
||||
\membersection{wxFileDialog::GetPaths}\label{wxfiledialoggetpaths}
|
||||
|
||||
\constfunc{void}{GetPaths}{\param{wxArrayString\& }{paths}}
|
||||
|
||||
Fills the array {\it paths} with the full paths of the files chosen. This
|
||||
function should only be used with the dialogs which have {\tt wxMULTIPLE} style,
|
||||
use \helpref{GetPath}{wxfiledialoggetpath} for the others.
|
||||
|
||||
\membersection{wxFileDialog::GetStyle}\label{wxfiledialoggetstyle}
|
||||
|
||||
\constfunc{long}{GetStyle}{\void}
|
||||
|
Reference in New Issue
Block a user