From 7c67741bb5c81038a41c8a4a1aff4d48a451f02a Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 26 Oct 2014 21:44:02 -0400 Subject: [PATCH] Added sharedWndProc() to Tab on Windows. --- tab_windows.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tab_windows.c b/tab_windows.c index 081129c..07935ff 100644 --- a/tab_windows.c +++ b/tab_windows.c @@ -9,10 +9,12 @@ LPWSTR xWC_TABCONTROL = WC_TABCONTROL; static LRESULT CALLBACK tabSubProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT_PTR id, DWORD_PTR data) { NMHDR *nmhdr = (NMHDR *) lParam; - LRESULT r; + LRESULT lResult, r; RECT resizeRect; WINDOWPOS *wp; + if (sharedWndProc(hwnd, uMsg, wParam, lParam, &lResult)) + return lResult; switch (uMsg) { case msgNOTIFY: switch (nmhdr->code) {