Mercurial > dwindows
changeset 1815:6ae40234d531
Fixed the order being wrong for traversing splitbars backwards on OS/2.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 09 Oct 2012 05:05:29 +0000 |
parents | b301d86a2683 |
children | d0dda44136a0 |
files | os2/dw.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/os2/dw.c Tue Oct 09 04:57:52 2012 +0000 +++ b/os2/dw.c Tue Oct 09 05:05:29 2012 +0000 @@ -731,7 +731,7 @@ if(strncmp(tmpbuf, SplitbarClassName, strlen(SplitbarClassName)+1)==0) { /* Then try the bottom or right box */ - HWND mybox = (HWND)dw_window_get_data(box->items[z].hwnd, "_dw_bottomright"); + HWND mybox = (HWND)dw_window_get_data(box->items[z].hwnd, (direction == _DW_DIRECTION_FORWARD) ? "_dw_bottomright" : "_dw_topleft"); if(mybox) { @@ -742,7 +742,7 @@ } /* Try the top or left box */ - mybox = (HWND)dw_window_get_data(box->items[z].hwnd, "_dw_topleft"); + mybox = (HWND)dw_window_get_data(box->items[z].hwnd, (direction == _DW_DIRECTION_FORWARD) ? "_dw_topleft" : "_dw_bottomright"); if(mybox) {