Add a note about icons to wxMessageDialog documentation

Explain that the requested icon is not always used.

Closes #23353.
This commit is contained in:
Vadim Zeitlin 2023-03-18 20:50:10 +01:00
parent 28e0a7e01d
commit c202385f3a

View file

@ -17,6 +17,12 @@ const char wxMessageBoxCaptionStr[] = "Message";
This class represents a dialog that shows a single or multi-line message,
with a choice of OK, Yes, No and Cancel buttons.
Note about icons: while this dialog defines a number of icon-related
styles, the actual icon may or not appear depending on the current platform
UI conventions. For example, default GTK theme doesn't use any icons at all
in the message dialogs while macOS does use an icon, but it uses the
application icon for the informational dialogs.
@beginStyleTable
@style{wxOK}
Puts an Ok button in the message box. May be combined with @c wxCANCEL.