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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user