changed the handling of the default buttons to be more logical

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-05-11 22:31:05 +00:00
parent 7c720ce633
commit 036da5e374
7 changed files with 117 additions and 37 deletions

View File

@@ -1995,14 +1995,9 @@ bool wxWindowMSW::MSWProcessMessage(WXMSG* pMsg)
return TRUE;
}
else // no default button
//else: no default button
#endif // wxUSE_BUTTON
{
// no special function for enter and don't even
// let IsDialogMessage() have it: it seems to
// do something really strange with it
return FALSE;
}
// treat Enter as TAB: pass to the next control
}
}
break;