Molecular Modeling Software
リビジョン | b23a623655ee2177fd136722aad2ab2a434ecc33 (tree) |
---|---|
日時 | 2014-03-24 01:37:41 |
作者 | toshinagata1964 <toshinagata1964@a2be...> |
コミッター | toshinagata1964 |
Z matrix import is implemented.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/molby/trunk@493 a2be9bc6-48de-4e38-9406-05402d4bc13c
@@ -247,6 +247,7 @@ bool MyApp::OnInit(void) | ||
247 | 247 | new wxDocTemplate(m_docManager, _T("SHELX Input File"), _T("*.ins;*.res"), _T(""), _T("ins"), _T("Molecule Doc"), _T("Molecule View"), CLASSINFO(MyDocument), CLASSINFO(MoleculeView)); |
248 | 248 | new wxDocTemplate(m_docManager, _T("Crystallographic Information File"), _T("*.cif"), _T(""), _T("cif"), _T("Molecule Doc"), _T("Molecule View"), CLASSINFO(MyDocument), CLASSINFO(MoleculeView)); |
249 | 249 | new wxDocTemplate(m_docManager, _T("Cartesian"), _T("*.xyz"), _T(""), _T("xyz"), _T("Molecule Doc"), _T("Molecule View"), CLASSINFO(MyDocument), CLASSINFO(MoleculeView)); |
250 | + new wxDocTemplate(m_docManager, _T("Z Matrix"), _T("*.zmat"), _T(""), _T("zmat"), _T("Molecule Doc"), _T("Molecule View"), CLASSINFO(MyDocument), CLASSINFO(MoleculeView)); | |
250 | 251 | new wxDocTemplate(m_docManager, _T("Any Molecule"), _T("*.*"), _T(""), _T(""), _T("Molecule Doc"), _T("Molecule View"), CLASSINFO(MyDocument), CLASSINFO(MoleculeView)); |
251 | 252 | |
252 | 253 | // Create the main frame window |
@@ -29,7 +29,7 @@ EVT_MENU(wxID_REVERT, MyDocManager::OnFileRevert) | ||
29 | 29 | END_EVENT_TABLE() |
30 | 30 | |
31 | 31 | static const char *sReadOnlyTypes[] = { |
32 | - "out", "fchk", "log", "dat", "ins", "res", "xyz", NULL | |
32 | + "out", "fchk", "log", "dat", "ins", "res", NULL | |
33 | 33 | }; |
34 | 34 | |
35 | 35 | void |