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:
@@ -209,8 +209,9 @@ public:
|
||||
{ return m_help.empty() ? GetDefaultHelpLabel() : m_help; }
|
||||
|
||||
// based on message dialog style, returns exactly one of: wxICON_NONE,
|
||||
// wxICON_ERROR, wxICON_WARNING, wxICON_QUESTION, wxICON_INFORMATION
|
||||
long GetEffectiveIcon() const
|
||||
// wxICON_ERROR, wxICON_WARNING, wxICON_QUESTION, wxICON_INFORMATION,
|
||||
// wxICON_AUTH_NEEDED
|
||||
virtual long GetEffectiveIcon() const
|
||||
{
|
||||
if ( m_dialogStyle & wxICON_NONE )
|
||||
return wxICON_NONE;
|
||||
|
Reference in New Issue
Block a user