summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/stdmsg/src/chat_window.cpp6
-rw-r--r--src/core/stdmsg/src/stdafx.h5
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;