[commit] r2498 - trunk/GME/Gme
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Thu Jun 19 09:43:44 CDT 2014
Author: ksmyth
Date: Thu Jun 19 09:43:44 2014
New Revision: 2498
Log:
Fill in default filename for save metafile
Modified:
trunk/GME/Gme/GMEView.cpp
Modified: trunk/GME/Gme/GMEView.cpp
==============================================================================
--- trunk/GME/Gme/GMEView.cpp Tue Jun 10 14:14:03 2014 (r2497)
+++ trunk/GME/Gme/GMEView.cpp Thu Jun 19 09:43:44 2014 (r2498)
@@ -10267,11 +10267,11 @@
}
}
-void CGMEView::OnPrintMetafile()
+void CGMEView::OnPrintMetafile()
{
CString filePath = _T(""); // "c:\\tmp\\meta.emf";
// call FileOpenDialog
- CFileDialog filedlg(FALSE, _T("emf"), NULL, OFN_OVERWRITEPROMPT|OFN_HIDEREADONLY,
+ CFileDialog filedlg(FALSE, _T("emf"), name, OFN_OVERWRITEPROMPT|OFN_HIDEREADONLY,
_T("Enhanced Metafile Files (*.emf)|*.emf|All Files (*.*)|*.*||"));
if (filedlg.DoModal() != IDOK)
return;
More information about the gme-commit
mailing list