Fix return value of wxRichMessageDialog with only an "OK" button.

Apply the same workaround as was applied in r67771 to wxMessageDialog to
wxRichMessageDialog and map IDCANCEL returned from it to IDOK if "Cancel" is
the only button in the dialog -- as in this case it's really just a renamed
(for convenience of allowing the user to use "Esc" to close it) "OK".

Closes #16153.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-04-02 22:38:36 +00:00
parent c3c9097afa
commit c654c7c20d
2 changed files with 11 additions and 0 deletions

View File

@@ -653,6 +653,7 @@ wxMSW:
- Fix clicking on togglable columns in wxDataViewCtrl (Laurent Poujoulat).
- Fix expander in non left-most position in wxDataViewCtrl (Laurent Poujoulat).
- Don't fail when using large paper sizes in print preview.
- Fix wxRichMessageDialog return value for dialog with only "OK" button.
wxOSX: