use 2 extensions in a filter in FileSave() for testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f7aeba1cdd
commit
3de9120b03
@ -824,7 +824,7 @@ void MyFrame::FileSave(wxCommandEvent& WXUNUSED(event) )
|
||||
_T("Testing save file dialog"),
|
||||
wxEmptyString,
|
||||
_T("myletter.doc"),
|
||||
_T("Text files (*.txt)|*.txt|Document files (*.doc)|*.doc"),
|
||||
_T("Text files (*.txt)|*.txt|Document files (*.doc;*.ods)|*.doc;*.ods"),
|
||||
wxFD_SAVE|wxFD_OVERWRITE_PROMPT);
|
||||
|
||||
dialog.SetFilterIndex(1);
|
||||
@ -909,7 +909,7 @@ void MyFrame::FileSaveGeneric(wxCommandEvent& WXUNUSED(event) )
|
||||
_T("Testing save file dialog"),
|
||||
wxEmptyString,
|
||||
_T("myletter.doc"),
|
||||
_T("Text files (*.txt)|*.txt|Document files (*.doc)|*.doc"),
|
||||
_T("Text files (*.txt)|*.txt|Document files (*.doc;*.ods)|*.doc;*.ods"),
|
||||
wxFD_SAVE|wxFD_OVERWRITE_PROMPT);
|
||||
|
||||
dialog.SetFilterIndex(1);
|
||||
|
Loading…
Reference in New Issue
Block a user