(wx:message-box message caption style parent x y) -> small integer
message : string
caption = "Message" : string
style = (bitwise-or wx:const-ok wx:const-center) : small integer
parent = null : wx:window% object or null
x = -1 : small integer
y = -1 : small integer
Pops up a general purpose message dialog with title set to
caption, and content message message. The message
string can contain newline characters, in which case the message will
be split into separate lines. The return value is
wx:const-yes, wx:const-no,
wx:const-cancel, or wx:const-ok depending on the
styles argument and the user's response.
The style is a bitwise combination of the following:
- wx:const-yes-no -- puts ``Yes'' and `No'' buttons on the message box (cannot
be combined with wx:const-ok)
- wx:const-cancel -- puts a ``Cancel'' button on the message box
- wx:const-ok -- puts an ``OK'' button on the message box (cannot
be combined with wx:const-yes-no)
- wx:const-centre -- centers the text
- wx:const-icon-exclamation -- displays an exclamation mark symbol (Windows)
- wx:const-icon-hand -- displays a hand symbol (Windows)
- wx:const-icon-question -- displays a question mark symbol (Windows)
- wx:const-icon-information -- displays an information symbol (Windows)
If style is 0, wx:const-ok is used.