1 --- include/wx/msgdlg.h 2009-09-04 06:51:55.000000000 +0200
2 +++ include/wx/msgdlg.h 2009-10-18 23:06:17.000000000 +0200
5 // these functions may be overridden to provide different defaults for the
6 // default button labels (this is used by wxGTK)
7 - virtual wxString GetDefaultYesLabel() const { return _("Yes"); }
8 - virtual wxString GetDefaultNoLabel() const { return _("No"); }
9 - virtual wxString GetDefaultOKLabel() const { return _("OK"); }
10 - virtual wxString GetDefaultCancelLabel() const { return _("Cancel"); }
11 + virtual wxString GetDefaultYesLabel() const { return wxGetTranslation("Yes"); }
12 + virtual wxString GetDefaultNoLabel() const { return wxGetTranslation("No"); }
13 + virtual wxString GetDefaultOKLabel() const { return wxGetTranslation("OK"); }
14 + virtual wxString GetDefaultCancelLabel() const { return wxGetTranslation("Cancel"); }
16 // labels for the buttons, initially empty meaning that the defaults should
17 // be used, use GetYes/No/OK/CancelLabel() to access them