# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1349758672 0 # Node ID b301d86a26831e198738d5dd3d0a2af934bc2454 # Parent 9cb8660c5fa3458ad1e0cdba0d5d717d2366d1f7 Fixes for that last commit for OS/2... also now have the notebook subclassed in case I need to make a change for proper drawing of the notebook control with no pages packed. diff -r 9cb8660c5fa3 -r b301d86a2683 os2/dw.c --- a/os2/dw.c Tue Oct 09 04:52:52 2012 +0000 +++ b/os2/dw.c Tue Oct 09 04:57:52 2012 +0000 @@ -789,7 +789,7 @@ return 1; if(thisbox) - _focus_check_box(thisbox, handle, 3, thisbox->defaultitem); + _focus_check_box(thisbox, handle, 3, _DW_DIRECTION_FORWARD, thisbox->defaultitem); return 0; } @@ -4170,7 +4170,7 @@ } else if(!(CHARMSG(&msg)->fs & KC_KEYUP) && (CHARMSG(&msg)->vkey == VK_LEFT || CHARMSG(&msg)->vkey == VK_UP)) { - _shift_focus_back(hwnd); + _shift_focus(hwnd, _DW_DIRECTION_BACKWARD); return FALSE; } else if(!(CHARMSG(&msg)->fs & KC_KEYUP) && (CHARMSG(&msg)->vkey == VK_RIGHT || CHARMSG(&msg)->vkey == VK_DOWN))