diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-11 16:59:04 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-11 16:59:04 +0300 |
commit | 7d8dce334967520fcd140ae79ec92b44ec71a00e (patch) | |
tree | c3508b4f50dff87bbf3e034968ffb2e065f24636 /src | |
parent | 2b419ed6e80f65138a198f32a3ffe85bf39a5fcb (diff) |
unused constants removed from m_chat_int.h
Diffstat (limited to 'src')
-rw-r--r-- | src/core/stdmsg/src/chat_window.cpp | 6 | ||||
-rw-r--r-- | src/core/stdmsg/src/stdafx.h | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/core/stdmsg/src/chat_window.cpp b/src/core/stdmsg/src/chat_window.cpp index 7a5ba87fde..d96426e630 100644 --- a/src/core/stdmsg/src/chat_window.cpp +++ b/src/core/stdmsg/src/chat_window.cpp @@ -615,7 +615,7 @@ INT_PTR CALLBACK CChatRoomDlg::FilterWndProc(HWND hwndDlg, UINT uMsg, WPARAM wPa if (iFlags & GC_EVENT_ADDSTATUS) iFlags |= GC_EVENT_REMOVESTATUS; - SendMessage(GetParent(hwndDlg), GC_CHANGEFILTERFLAG, 0, iFlags); + pDlg->m_iLogFilterFlags = iFlags; if (pDlg->m_bFilterEnabled) SendMessage(GetParent(hwndDlg), GC_REDRAWLOG, 0, 0); PostMessage(hwndDlg, WM_CLOSE, 0, 0); @@ -1507,10 +1507,6 @@ INT_PTR CChatRoomDlg::DlgProc(UINT uMsg, WPARAM wParam, LPARAM lParam) UpdateTitle(); break; - case GC_CHANGEFILTERFLAG: - m_iLogFilterFlags = lParam; - break; - case GC_SHOWFILTERMENU: { HWND hwnd = CreateDialogParam(g_hInst, MAKEINTRESOURCE(IDD_FILTER), m_hwnd, FilterWndProc, (LPARAM)this); diff --git a/src/core/stdmsg/src/stdafx.h b/src/core/stdmsg/src/stdafx.h index 758dd5a612..5c77fca204 100644 --- a/src/core/stdmsg/src/stdafx.h +++ b/src/core/stdmsg/src/stdafx.h @@ -77,6 +77,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define EM_SUBCLASSED (WM_USER+0x101)
#define EM_ACTIVATE (WM_USER+0x102)
+#define GC_SWITCHNEXTTAB (WM_USER+0x103)
+#define GC_SWITCHPREVTAB (WM_USER+0x104)
+#define GC_TABCHANGE (WM_USER+0x105)
+#define GC_SWITCHTAB (WM_USER+0x106)
+
extern HINSTANCE g_hInst;
extern HANDLE hHookWinEvt, hHookWinPopup, hHookWinWrite;
extern CREOleCallback reOleCallback;
|