-#ifdef __WXGTK210__
- if ( gtk_check_version(2, 10, 0) == NULL && (m_dialogStyle & wxICON_NONE))
- type = GTK_MESSAGE_OTHER;
- else
-#endif // __WXGTK210__
- if (m_dialogStyle & wxICON_EXCLAMATION)
- type = GTK_MESSAGE_WARNING;
- else if (m_dialogStyle & wxICON_ERROR)
- type = GTK_MESSAGE_ERROR;
- else if (m_dialogStyle & wxICON_INFORMATION)
- type = GTK_MESSAGE_INFO;
- else if (m_dialogStyle & wxICON_QUESTION)
- type = GTK_MESSAGE_QUESTION;
- else