Typos.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -266,7 +266,7 @@ void wxGenericPrintDialog::OnOK(wxCommandEvent& WXUNUSED(event))
|
|||||||
wxFileName fname( m_printDialogData.GetPrintData().GetFilename() );
|
wxFileName fname( m_printDialogData.GetPrintData().GetFilename() );
|
||||||
|
|
||||||
wxFileDialog dialog( this, _("PostScript file"),
|
wxFileDialog dialog( this, _("PostScript file"),
|
||||||
fname.GetPath(), fname.GetFullName(), wxT("*.ps"), wxOPEN | wxFILE_MUST_EXIST );
|
fname.GetPath(), fname.GetFullName(), wxT("*.ps"), wxOPEN | wxOVERWRITE_PROMPT );
|
||||||
if (dialog.ShowModal() != wxID_OK) return;
|
if (dialog.ShowModal() != wxID_OK) return;
|
||||||
|
|
||||||
m_printDialogData.GetPrintData().SetFilename( dialog.GetPath() );
|
m_printDialogData.GetPrintData().SetFilename( dialog.GetPath() );
|
||||||
|
Reference in New Issue
Block a user