summaryrefslogtreecommitdiff
path: root/redo/tab_windows.c
diff options
context:
space:
mode:
Diffstat (limited to 'redo/tab_windows.c')
-rw-r--r--redo/tab_windows.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/redo/tab_windows.c b/redo/tab_windows.c
index 4958a68..9a9908a 100644
--- a/redo/tab_windows.c
+++ b/redo/tab_windows.c
@@ -25,6 +25,8 @@ static LRESULT CALLBACK tabSubProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM l
return 0;
}
return (*fv_DefSubclassProc)(hwnd, uMsg, wParam, lParam);
+ case msgTabCurrentTabHasChildren:
+ return (LRESULT) tabTabHasChildren((void *) data, SendMessageW(hwnd, TCM_GETCURSEL, 0, 0));
case WM_NCDESTROY:
if ((*fv_RemoveWindowSubclass)(hwnd, tabSubProc, id) == FALSE)
xpanic("error removing Tab subclass (which was for its own event handler)", GetLastError());