]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msgdlg.h
Don't create multiple parent-less top level frames in layout sample.
[wxWidgets.git] / include / wx / msgdlg.h
index 4dbd2d5ac2620f0c7e949123aaa146349375d022..14df02f9614cfd3c271e159ba93591fb27dd7f63 100644 (file)
@@ -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;