diff options
Diffstat (limited to 'plugins/NewStory/src/history_log.cpp')
-rw-r--r-- | plugins/NewStory/src/history_log.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/NewStory/src/history_log.cpp b/plugins/NewStory/src/history_log.cpp index ec1aec4ff7..f94f3a33fc 100644 --- a/plugins/NewStory/src/history_log.cpp +++ b/plugins/NewStory/src/history_log.cpp @@ -38,13 +38,11 @@ public: m_histCtrl = (NewstoryListData *)GetWindowLongPtr(m_hwnd, 0);
m_histCtrl->SetDialog(&m_pDlg);
-
- WindowList_Add(g_hNewstoryWindows, m_pDlg.GetHwnd(), m_pDlg.m_hContact);
}
void Detach() override
{
- WindowList_Remove(g_hNewstoryWindows, m_pDlg.GetHwnd());
+ WindowList_Remove(g_hNewstoryLogs, m_pDlg.GetHwnd());
::DestroyWindow(m_hwnd);
}
|