added and documented SetEscapeId()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-09-25 20:17:01 +00:00
parent 17a1ebd101
commit c6ece59558
4 changed files with 61 additions and 10 deletions

View File

@@ -108,7 +108,8 @@ void wxDialogBase::Init()
{
m_returnCode = 0;
m_affirmativeId = wxID_OK;
m_escapeId = wxID_ANY;
// the dialogs have this flag on by default to prevent the events from the
// dialog controls from reaching the parent frame which is usually
// undesirable and can lead to unexpected and hard to find bugs