Add IFileDialog-based wxFileDialog implementation
If possible, i.e. if none of the features not supported by IFileDialog are needed, prefer to use IFileDialog for wxFileDialog rather than the old common dialog functions. There are no real differences in appearance because the old functions actually already forward to the new IFileDialog-based implementation internally anyhow, if possible, but this provides us with more flexibility and some things that were ignored by the common dialog functions now work, such as setting the initial dialog directory.
This commit is contained in:
parent
d54bf06060
commit
cdba0ba961
2 changed files with 146 additions and 0 deletions
|
|
@ -59,6 +59,10 @@ private:
|
|||
// functions.
|
||||
int ShowCommFileDialog(WXHWND owner);
|
||||
|
||||
// And another one using IFileDialog.
|
||||
int ShowIFileDialog(WXHWND owner);
|
||||
|
||||
|
||||
wxArrayString m_fileNames;
|
||||
|
||||
// remember if our SetPosition() or Centre() (which requires special
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue