Mercurial > dwindows
diff win/dw.c @ 344:6a374f337d1f
Use dw_notebook_page_query() to query the logical notebook page id.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 11 Apr 2003 12:22:10 +0000 |
parents | bab5cd8dd93f |
children | 81fae15885d7 |
line wrap: on
line diff
--- a/win/dw.c Fri Apr 11 12:20:12 2003 +0000 +++ b/win/dw.c Fri Apr 11 12:22:10 2003 +0000 @@ -1582,7 +1582,7 @@ if(tmp->window == tem->hwndFrom && tem->code == tmp->message) { int (*switchpagefunc)(HWND, int, void *) = tmp->signalfunction; - int num=TabCtrl_GetCurSel(tem->hwndFrom); + int num=dw_notebook_page_query(tem->hwndFrom); result = switchpagefunc(tem->hwndFrom, num, tmp->data); } }