Build with WXINTL_NO_GETTEXT_MACRO defined.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2010-01-02 11:22:59 +00:00
parent 3d50d1632b
commit b91d65b10f

View File

@@ -277,10 +277,10 @@ protected:
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