Commit Graph

34 Commits

Author SHA1 Message Date
Václav Slavík
6b8b3ee379 Only use NSCriticalAlertStyle for serious questions
Don't use NSCriticalAlertStyle for wxICON_WARNING unconditionally, this
was a violation of the OS X guidelines. According to the hig HIG,
NSCriticalAlertStyle (aka caution icon) is only appropriate in rare
cases and only if the user is performing a task that might result in the
inadvertent and unexpected destruction of data.

It therefore doesn't make sense to use it for information warnings, but
only for _questions_, and so NSCriticalAlertStyle is only used if a
combination of wxICON_WARNING with either wxYES_NO or wxCANCEL is used.
2015-03-07 16:15:51 +01:00
Václav Slavík
94fc40b7ea Make semantic wxICON_XXX styles the canonical ones
Make wxICON_WARNING and wxICON_ERROR the primary constants for their
purpose and define their visual Windows-based synonyms wxICON_HAND and
wxICON_EXCLAMATION in terms of the semantic ones, instead of the other
way around.
2015-03-07 16:15:51 +01:00
Vadim Zeitlin
cc85c02fa5 Document that wxCANCEL_DEFAULT doesn't work in wxOSX/Cocoa.
See #16268.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-06-01 16:46:12 +00:00
Steve Lamerton
5ea01cd497 Fix doxygen warnings.
Using @since inside a style or event list causes doxygen warnings, replace with plain text.

See #15346.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-09-11 10:10:36 +00:00
Vadim Zeitlin
3f66f6a5b3 Remove all lines containing cvs/svn "$Id$" keyword.
This keyword is not expanded by Git which means it's not replaced with the
correct revision value in the releases made using git-based scripts and it's
confusing to have lines with unexpanded "$Id$" in the released files. As
expanding them with Git is not that simple (it could be done with git archive
and export-subst attribute) and there are not many benefits in having them in
the first place, just remove all these lines.

If nothing else, this will make an eventual transition to Git simpler.

Closes #14487.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-26 16:02:46 +00:00
Vadim Zeitlin
67315c8bf9 Add support for wxICON_AUTH_NEEDED to wxMessageDialog.
Allow showing the standard "Authentication needed" dialog in the message boxes
under MSW.

Closes #15121.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-29 12:54:08 +00:00
Vadim Zeitlin
0b59366faa Better documentation for the default parameters values.
Use symbolic names for them and document them separately.

Closes #14051.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-04 00:29:07 +00:00
Vadim Zeitlin
fe9b56985f Minor fixes to wxMessageBox() documentation.
Correct the default parameters values.

Closes #14043.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-25 23:49:42 +00:00
Vadim Zeitlin
1f165e7432 Add skeleton documentation for wxMessageDialog::ButtonLabel.
This class shouldn't be really used directly but document it just to make the
interface header valid C++ as this class was used as parameter type but never
defined.

Closes #14006.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-20 21:56:38 +00:00
Vadim Zeitlin
89041b2513 Fix header formatting problem in wxMessageBox() documentation.
@header macro must be preceded by a new line.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-18 09:51:38 +00:00
Robin Dunn
8f199edf33 Add the getters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-21 18:34:20 +00:00
Vadim Zeitlin
7112cdd1f3 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
2011-08-04 22:53:42 +00:00
Vadim Zeitlin
b8737371e2 Add a link to Microsoft guidelines from wxICON_QUESTION documentation.
Microsoft documentation provides explanations as to how the icons should be
used in the message dialogs which can be useful for people wondering which
icon style to use an when.

See #12417.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-09-04 09:36:25 +00:00
Robert Roebling
0800eb846c Link to wxRichMessageDialog in some places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-08-19 18:29:46 +00:00
Vadim Zeitlin
ede7b01760 Provide a task-dialog based wxMSW wxMessageDialog implementation.
Use the task dialog instead of the legacy message box for wxMessageDialog
implementation under wxMSW on recent (Vista and later) Windows versions.

As part of this change, remove wxMessageDialogWithCustomLabels and integrate
its functionality in wxMessageDialogBase itself as it's now used by all
platforms.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-08-18 22:48:28 +00:00
Vadim Zeitlin
526954c596 Globally use "wxWindows licence" consistently.
Use "wxWindows licence" and not "wxWidgets licence" (the latter doesn't
exist) and consistently spell "licence" using British spelling.

See #12165.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-13 13:29:13 +00:00
Vadim Zeitlin
8bd410eb80 Document that message box with wxYES_NO but without wxCANCEL can't be closed.
Recommend using these styles together to avoid it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-14 14:15:46 +00:00
Vadim Zeitlin
7981d3408f Document wxCENTRE style for wxMessageDialog.
This is currently only implemented for MSW but we could implement it for the
other ports in the future.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-18 00:29:12 +00:00
Václav Slavík
b9b2c695ff document that wxMessageDialog API additions appeared in 2.9.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-08 11:35:58 +00:00
Vadim Zeitlin
4566dcbe24 Implement wxSTAY_ON_TOP for wxMessageDialog in wxGTK.
Call gtk_window_set_keep_above() to force the message dialog to be above the
other windows (some WMs do this by default anyhow but not all).

Closes #11163.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-04 16:20:57 +00:00
Vadim Zeitlin
461cd115f2 Correct obsolete information: SetYesNoLabels() is not Mac-only any more.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-18 12:15:25 +00:00
Vadim Zeitlin
7e3204b45c added wxICON_NONE and implement support for it in wxGTK (closes #2897)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 16:25:37 +00:00
Francesco Montorsi
76e2b5703a do not use @c to refer to wxDefault* objects; use :: so an hypertext link is created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 00:49:24 +00:00
Bryan Petty
b21126db7a Replaced @ingroup with @addtogroup for all global func/macros for use with Doxygen 1.5.7+.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-05 20:48:06 +00:00
Francesco Montorsi
11dd61cb3d move style table in the detailed description like for all other interface headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 19:33:37 +00:00
Francesco Montorsi
0a98423eb0 other ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-10 21:33:25 +00:00
Francesco Montorsi
43c48e1e53 automated ifacecheck fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-28 15:36:26 +00:00
Francesco Montorsi
fadc2df682 automated ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 21:26:54 +00:00
Francesco Montorsi
ba1d7a6cec revised m*h headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-11 13:10:48 +00:00
Francesco Montorsi
adaaa68635 HUGE commit of ifacecheck-automated fixes to virtualness/constness/staticness of wxWidgets documented functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 11:21:10 +00:00
Vadim Zeitlin
f45d6ade08 added wxCANCEL_DEFAULT style to wxMessageDialog (only implemented for MSW for now); also tightened up the style checks in wxMessageDialog::SetMessageDialogStyle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 23:37:35 +00:00
Vadim Zeitlin
e08931c05a make it possible to use stock ids for custom message box labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 18:02:49 +00:00
Bryan Petty
12f5e1e78f Commit 3 of 3 for Doxygen path fixes, this one finally removes all 600+ unnecessary uses of @wxheader and @headerfile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-27 18:00:03 +00:00
Bryan Petty
ae3c17b401 Moved all interface headers into a 'wx' subdirectory for proper use of Doxygen path settings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-27 16:22:58 +00:00