private:
// these functions may be overridden to provide different defaults for the
// default button labels (this is used by wxGTK)
- virtual wxString GetDefaultYesLabel() const { return _("Yes"); }
- virtual wxString GetDefaultNoLabel() const { return _("No"); }
- virtual wxString GetDefaultOKLabel() const { return _("OK"); }
- virtual wxString GetDefaultCancelLabel() const { return _("Cancel"); }
+ virtual wxString GetDefaultYesLabel() const { return wxGetTranslation("Yes"); }
+ virtual wxString GetDefaultNoLabel() const { return wxGetTranslation("No"); }
+ virtual wxString GetDefaultOKLabel() const { return wxGetTranslation("OK"); }
+ virtual wxString GetDefaultCancelLabel() const { return wxGetTranslation("Cancel"); }
// labels for the buttons, initially empty meaning that the defaults should
// be used, use GetYes/No/OK/CancelLabel() to access them