mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-13 08:01:33 +01:00
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.
This commit is contained in:
parent
cfd1350dac
commit
231c0b4f44
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue