git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63035
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
private:
// these functions may be overridden to provide different defaults for the
// default button labels (this is used by wxGTK)
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
// labels for the buttons, initially empty meaning that the defaults should
// be used, use GetYes/No/OK/CancelLabel() to access them