summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewStory/src/history.cpp')
-rw-r--r--plugins/NewStory/src/history.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/plugins/NewStory/src/history.cpp b/plugins/NewStory/src/history.cpp
index 822ba6c3eb..d00839b515 100644
--- a/plugins/NewStory/src/history.cpp
+++ b/plugins/NewStory/src/history.cpp
@@ -367,8 +367,6 @@ public:
edtSearchText.OnChange = Callback(this, &CHistoryDlg::onChange_SearchText);
- m_histControl.OnBuildMenu = Callback(this, &CHistoryDlg::OnContextMenu);
-
btnCopy.OnClick = Callback(this, &CHistoryDlg::onClick_Copy);
btnExport.OnClick = Callback(this, &CHistoryDlg::onClick_Export);
btnDelete.OnClick = Callback(this, &CHistoryDlg::onClick_Delete);
@@ -787,12 +785,6 @@ public:
PostMessage(m_hwnd, UM_REBUILDLIST, 0, 0);
}
- void OnContextMenu(CCtrlBase*)
- {
- RECT rc;
- GetWindowRect(m_histControl.GetHwnd(), &rc);
- }
-
INT_PTR DlgProc(UINT msg, WPARAM wParam, LPARAM lParam) override
{
if ((msg >= NSM_FIRST) && (msg < NSM_LAST)) {