summaryrefslogtreecommitdiff
path: root/plugins/BasicHistory
diff options
context:
space:
mode:
authorRozhuk Ivan <rozhuk.im@gmail.com>2014-12-14 05:46:09 +0000
committerRozhuk Ivan <rozhuk.im@gmail.com>2014-12-14 05:46:09 +0000
commitb0e15a2d768b04ad5a5bb1c591c6b043469baeb5 (patch)
tree380ae36ef460ec5e9fe17b9736d0aa3514f911af /plugins/BasicHistory
parentbc7df32e3b5a264c0eeb6a20b723cdab02cf7688 (diff)
SendMessage(.... WM_SETTEXT...) -> SetWindowText(...)
git-svn-id: http://svn.miranda-ng.org/main/trunk@11392 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/BasicHistory')
-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())