changeset 1814:b301d86a2683

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.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 09 Oct 2012 04:57:52 +0000
parents 9cb8660c5fa3
children 6ae40234d531
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: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))