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

Method OnScriptHistsize

purepad/MainFrm.cpp:948–957  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

946}
947
948void CMainFrame::OnScriptHistsize()
949{
950 CHistsizeDlg dlg;
951 dlg.m_nHistSize = CMainFrame::m_nHistSize;
952 if (dlg.DoModal() == IDOK)
953 {
954 CMainFrame::m_nHistSize = dlg.m_nHistSize;
955 GetEvalView()->m_hist.SetMaxSize(CMainFrame::m_nHistSize);
956 }
957}
958
959BOOL CMainFrame::OnCommand(WPARAM wParam, LPARAM lParam)
960{

Callers

nothing calls this directly

Calls 1

SetMaxSizeMethod · 0.80

Tested by

no test coverage detected