diff options
author | George Hazan <george.hazan@gmail.com> | 2024-05-20 20:33:46 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-05-20 20:33:46 +0300 |
commit | 451303889fcd3e4a8ca4ec4928c3788641e8e755 (patch) | |
tree | 17f538d0a66735d5381d680ac031e0766e01038e /plugins/NewStory/src/history_control.cpp | |
parent | e3dc4660e3d9bdf69a094830e97cd664eb7d2f40 (diff) |
fixes #4429 (NewStory: добавить кнопку для удаления выбранных сообщений)
Diffstat (limited to 'plugins/NewStory/src/history_control.cpp')
-rw-r--r-- | plugins/NewStory/src/history_control.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index 5129c3f6c8..537a74fb61 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -1212,12 +1212,12 @@ LRESULT CALLBACK NewstoryListWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM InvalidateRect(hwnd, 0, FALSE);
break;
- case UM_ADDEVENT:
+ case UM_ADD_EVENT:
if (data->pMsgDlg == nullptr)
data->AddEvent(wParam, lParam, 1);
break;
- case UM_EDITEVENT:
+ case UM_EDIT_EVENT:
idx = data->items.find(lParam);
if (idx != -1) {
auto *p = data->GetItem(idx);
@@ -1227,7 +1227,7 @@ LRESULT CALLBACK NewstoryListWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM }
break;
- case UM_REMOVEEVENT:
+ case UM_REMOVE_EVENT:
idx = data->items.find(lParam);
if (idx != -1) {
data->items.remove(idx);
|