Files
wxWidgets/include/wx
Vadim Zeitlin 83a7613b71 Use the same logic for closing dialogs as for handling Escape key.
Pressing "Esc" key closed the dialog with only wxID_OK button (but no
wxID_CANCEL one) by default but pressing the "close window" button only closed
it if wxID_CANCEL was present.

Fix this by using the same code in OnCloseWindow() as in OnCharHook(), after
extracting it into the new SendCloseButtonClickEvent() method.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-09-09 20:53:26 +00:00
..
2010-08-24 11:23:22 +00:00
2009-12-05 19:57:58 +00:00
2010-07-23 23:32:46 +00:00
2009-10-05 22:55:53 +00:00
2009-09-24 20:47:34 +00:00
2010-04-16 10:43:18 +00:00
2010-08-18 22:48:41 +00:00
2010-06-13 09:59:32 +00:00
2009-05-06 03:08:33 +00:00
2009-07-23 20:30:22 +00:00
2010-04-16 10:43:18 +00:00
2009-07-23 20:30:22 +00:00
2009-07-23 20:30:22 +00:00
2009-07-23 20:30:22 +00:00
2010-06-19 12:28:38 +00:00
2009-07-23 20:30:22 +00:00
2010-04-16 10:43:18 +00:00
2010-07-23 23:32:46 +00:00
2009-07-23 20:30:22 +00:00
2010-07-23 23:32:46 +00:00
2010-04-09 13:15:20 +00:00
2009-07-23 20:30:22 +00:00
2010-05-06 12:40:11 +00:00
2009-07-23 20:30:22 +00:00
2009-07-23 20:30:22 +00:00
2010-05-22 16:14:16 +00:00
2009-07-23 20:30:22 +00:00
2009-02-19 17:28:37 +00:00
2009-07-23 20:30:22 +00:00
2010-08-18 22:48:41 +00:00
2009-07-23 20:30:22 +00:00
2009-07-23 20:30:22 +00:00
2009-07-23 20:30:22 +00:00
2010-06-26 11:43:13 +00:00
2009-07-23 20:30:22 +00:00
2010-04-16 10:43:18 +00:00
2009-07-23 20:30:22 +00:00
2009-07-23 20:30:22 +00:00
2010-03-08 12:21:58 +00:00
2009-07-23 20:30:22 +00:00
2010-07-22 12:09:04 +00:00
2009-07-23 20:30:22 +00:00
2010-04-16 10:43:18 +00:00
2010-03-29 06:45:00 +00:00