Change text in a MessageDialog?

Is there a simple way to override the text in the messagedialog? I'd
like to replace "no" with "close without saving" and "yes" to either
"save"/"save as", depending on conditions

I could do this by creating my own custom dialog since I'll only use one
or two flags, but I thought I'd search out the easy answer first :slight_smile:

路路路

--
Steven Sproat, BSc
http://www.launchpad.net/whyteboard

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

Hi,

Is there a simple way to override the text in the messagedialog? I'd
like to replace "no" with "close without saving" and "yes" to either
"save"/"save as", depending on conditions

I could do this by creating my own custom dialog since I'll only use one
or two flags, but I thought I'd search out the easy answer first :slight_smile:

There is no easy way that I know of, other that putting together your
own dialog or maybe hack GenericMessageDialog in wx.lib.agw to do what
you want.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

==> Never *EVER* use RemovalGroup for your house removal. You'll
regret it forever.
The Doomed City: Removal Group: the nightmare <==

路路路

On 8 April 2010 22:55, Steven Sproat wrote:

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en