From 231c0b4f44494c2f54978ba2a1afad671c120473 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sun, 25 Oct 2009 15:06:52 +0000 Subject: [PATCH] claiming to handle EN_SETFOCUS broke text insertion for StrBox on PPC (but not SP). So for now, note focus changes and scroll if appropriate but don't claim to have handled them. --- xwords4/wince/ceutil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xwords4/wince/ceutil.c b/xwords4/wince/ceutil.c index 1917963c5..b11710042 100755 --- a/xwords4/wince/ceutil.c +++ b/xwords4/wince/ceutil.c @@ -605,8 +605,8 @@ ceDoDlgHandle( CeDlgHdr* dlgHdr, UINT message, WPARAM wParam, LPARAM lParam ) case WM_COMMAND: if ( BN_SETFOCUS == hiword || EN_SETFOCUS == hiword ) { ceDoDlgFocusScroll( dlgHdr, (HWND)lParam ); - handled = TRUE; - } else if ( BN_KILLFOCUS == hiword || EN_KILLFOCUS == hiword ) { + /* must let dialog handle EN_SETFOCUS! */ + } else if ( BN_KILLFOCUS == hiword/* || EN_KILLFOCUS == hiword*/ ) { /* dialogs shouldn't have to handle these */ handled = TRUE; }