diff options
| author | Pietro Gagliardi <[email protected]> | 2014-10-26 21:44:02 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-10-26 21:44:02 -0400 |
| commit | 7c67741bb5c81038a41c8a4a1aff4d48a451f02a (patch) | |
| tree | e9298585da67d20ea5932ed26a89275e1c7789f3 | |
| parent | de9c598ca358b5e1b3a2f2d7be6bdf0442b38d42 (diff) | |
Added sharedWndProc() to Tab on Windows.
| -rw-r--r-- | tab_windows.c | 4 |
1 files changed, 3 insertions, 1 deletions
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) { |
