]> git.saurik.com Git - wxWidgets.git/commit - src/generic/msgdlgg.cpp
Add support for wxHELP button to wxMessageDialog.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 4 Aug 2011 22:53:42 +0000 (22:53 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 4 Aug 2011 22:53:42 +0000 (22:53 +0000)
commit7112cdd1f3c4730391cf0a562f4d7dcee8676f07
tree503e1af6e8e3398f7271cc9d503c817735070dcc
parent3fb39fd56c1ee6cb487b6bbfc308353e47a98475
Add support for wxHELP button to wxMessageDialog.

Implement support for wxHELP for wxMSW, wxGTK and wxOSX/Cocoa (at least when
showing the message box from the main thread, there doesn't seem to be any way
to show more than three buttons with CFUserNotificationDisplayAlert() so
"Help" button is not supported when using it).

This is useful not only on its own, i.e. to allow the user to ask for help,
but also because it brings the total number of buttons supported by the
message dialog to 4, meaning that more choices can be offered to the user
(which is rarely, but not quite never, useful).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
14 files changed:
docs/changes.txt
include/wx/generic/msgdlgg.h
include/wx/gtk/msgdlg.h
include/wx/msgdlg.h
include/wx/msw/private/msgdlg.h
include/wx/osx/msgdlg.h
interface/wx/msgdlg.h
samples/dialogs/dialogs.cpp
samples/dialogs/dialogs.h
src/common/utilscmn.cpp
src/generic/msgdlgg.cpp
src/gtk/msgdlg.cpp
src/msw/msgdlg.cpp
src/osx/cocoa/msgdlg.mm