summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Scriver/src/msgs.h1
-rw-r--r--plugins/Scriver/src/msgutils.cpp5
-rw-r--r--plugins/TabSRMM/src/generic_msghandlers.cpp2
-rw-r--r--plugins/TabSRMM/src/msgdlgother.cpp5
4 files changed, 5 insertions, 8 deletions
diff --git a/plugins/Scriver/src/msgs.h b/plugins/Scriver/src/msgs.h
index 0cf7a9ad6a..d98d8709ff 100644
--- a/plugins/Scriver/src/msgs.h
+++ b/plugins/Scriver/src/msgs.h
@@ -133,7 +133,6 @@ public:
void GetInputFont(LOGFONTW &lf, COLORREF &bg, COLORREF &fg) const override;
void LoadSettings() override;
void OnOptionsApplied() override;
- void RemakeLog() override;
void SetStatusText(const wchar_t *, HICON) override;
void ShowFilterMenu() override;
void UpdateFilterButton() override;
diff --git a/plugins/Scriver/src/msgutils.cpp b/plugins/Scriver/src/msgutils.cpp
index 275b56e1fe..a0ac86aa08 100644
--- a/plugins/Scriver/src/msgutils.cpp
+++ b/plugins/Scriver/src/msgutils.cpp
@@ -399,11 +399,6 @@ void CMsgDialog::Reattach(HWND hwndContainer)
}
}
-void CMsgDialog::RemakeLog()
-{
- m_pLog->LogEvents(m_hDbEventFirst, -1, 0);
-}
-
void CMsgDialog::SetDialogToType()
{
if (!isChat()) {
diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp
index 1dde4270ea..12f4643670 100644
--- a/plugins/TabSRMM/src/generic_msghandlers.cpp
+++ b/plugins/TabSRMM/src/generic_msghandlers.cpp
@@ -541,7 +541,7 @@ void CMsgDialog::DM_ScrollToBottom(WPARAM wParam, LPARAM lParam)
m_bDeferredScroll = true;
if (m_iLogMode == WANT_BUILTIN_LOG)
- ((CLogWindow *)m_pLog)->ScrollToBottom(wParam != 0, lParam != 0);
+ LOG()->ScrollToBottom(wParam != 0, lParam != 0);
else
m_pLog->ScrollToBottom();
}
diff --git a/plugins/TabSRMM/src/msgdlgother.cpp b/plugins/TabSRMM/src/msgdlgother.cpp
index f9d345a4d8..10fcd4b601 100644
--- a/plugins/TabSRMM/src/msgdlgother.cpp
+++ b/plugins/TabSRMM/src/msgdlgother.cpp
@@ -1548,7 +1548,10 @@ void CMsgDialog::RemakeLog()
m_szMicroLf[0] = 0;
m_lastEventTime = 0;
m_iLastEventType = -1;
- StreamEvents(m_hDbEventFirst, -1, 0);
+
+ CSuper::RemakeLog();
+
+ DM_ScrollToBottom(0, 0);
}
/////////////////////////////////////////////////////////////////////////////////////////