summaryrefslogtreecommitdiff
path: root/redo/tab_windows.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-14 13:05:31 -0400
committerPietro Gagliardi <[email protected]>2014-08-14 13:05:31 -0400
commitacbe70b4e5688df23e04ac0e55d8515252a52275 (patch)
tree4ad3a6cd2cb7e909dbd6437ffa6b852b09f1561b /redo/tab_windows.c
parent2c8bb7bc6d3b5614d53de957b4dca025c53a9cee (diff)
Fixed the infinite loop on Tab control dialog message bug(s) on the Windows backend.
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());