wxWidgets/samples/dialogs
Vadim Zeitlin efaf786535 Don't handle "Return" key as "TAB" even when the default button is disabled.
wxMSW used to handle VK_RETURN in the same way as VK_TAB if it wasn't consumed
by the default push button but this didn't correspond to the native platform
behaviour which considers pressing Return when the OK button is disabled an
error and audibly notifies the user about it.

Fix this by passing VK_RETURN to IsDialogMessage() if we don't translate it to
a button click.

Also add a possibility to test what happens when the default (or all)
button(s) in the dialog are disabled to the dialogs sample.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-07-11 22:25:24 +00:00
..
descrip.mms Committing in . 2000-08-24 10:58:27 +00:00
dialogs_vc7.vcproj Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
dialogs_vc8.vcproj Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
dialogs_vc9.vcproj Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
dialogs.bkl Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
dialogs.cpp Don't handle "Return" key as "TAB" even when the default button is disabled. 2011-07-11 22:25:24 +00:00
dialogs.dsp Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
dialogs.h Don't handle "Return" key as "TAB" even when the default button is disabled. 2011-07-11 22:25:24 +00:00
makefile.bcc Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
makefile.gcc Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
Makefile.in Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
makefile.mgl Watcom wxMGL makefiles 2002-01-17 23:42:27 +00:00
makefile.unx Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
makefile.vc Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
makefile.wat Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
tips.txt Applied patch [ 600500 ] Tip-of-day: comments, translatable 2002-08-31 12:08:02 +00:00