MCPcopy Create free account
hub / github.com/agraef/pure-lang / OnScriptOpen

Method OnScriptOpen

purepad/MainFrm.cpp:895–902  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

893}
894
895void CMainFrame::OnScriptOpen()
896{
897 CDocument* pDoc = GetQpadView()->GetDocument();
898 CString act_fname = pDoc->GetPathName();
899 if (act_fname == m_strRunPathName ||
900 AfxGetApp()->OpenDocumentFile(m_strRunPathName))
901 if (act_fname != m_strRunPathName) UpdateTitle();
902}
903
904void CMainFrame::OnUpdateScriptOpen(CCmdUI* pCmdUI)
905{

Callers

nothing calls this directly

Calls 1

GetDocumentMethod · 0.45

Tested by

no test coverage detected