summaryrefslogtreecommitdiff
path: root/plugins/BasicHistory/src/HistoryWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/BasicHistory/src/HistoryWindow.cpp')
-rw-r--r--plugins/BasicHistory/src/HistoryWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/BasicHistory/src/HistoryWindow.cpp b/plugins/BasicHistory/src/HistoryWindow.cpp
index 064830e4f0..76b5bd3c9a 100644
--- a/plugins/BasicHistory/src/HistoryWindow.cpp
+++ b/plugins/BasicHistory/src/HistoryWindow.cpp
@@ -1401,7 +1401,7 @@ void SetFontFromOptions(ITextFont *TextFont, int caps, Options::Fonts fontId)
void HistoryWindow::SelectEventGroup(int sel)
{
- SendMessage(editWindow, WM_SETTEXT, 0, (LPARAM)_T(""));
+ SetWindowText(editWindow, _T(""));
currentGroup.clear();
selected = sel;
if (sel < 0 || sel >= (int)eventList.size())