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
This commit is contained in:
Vadim Zeitlin
2013-04-29 12:54:08 +00:00
parent add6e9193d
commit 67315c8bf9
8 changed files with 40 additions and 4 deletions

View File

@@ -68,6 +68,15 @@ const char wxMessageBoxCaptionStr[] = "Message";
Displays an information symbol. This icon is used by default if
@c wxYES_NO is not given so it is usually unnecessary to specify it
explicitly.
@style{wxICON_AUTH_NEEDED}
Displays an authentication needed symbol. This style is only supported
for message dialogs under wxMSW when a task dialog is used to implement
them (i.e. when running under Windows Vista or later). In other cases
the default icon selection logic will be used. Note this can be
combined with other styles to provide a fallback. For instance, using
wxICON_AUTH_NEEDED | wxICON_QUESTION will show a shield symbol on
Windows Vista or above and a question symbol on other platforms.
@since 2.9.5
@style{wxSTAY_ON_TOP}
Makes the message box stay on top of all other windows and not only
just its parent (currently implemented only under MSW and GTK).