From b91d65b10f2e25097e9987b48094bd83b52cf8e9 Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Sat, 2 Jan 2010 11:22:59 +0000 Subject: [PATCH] Build with WXINTL_NO_GETTEXT_MACRO defined. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msgdlg.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/wx/msgdlg.h b/include/wx/msgdlg.h index 6d65fc75aa..1f69aba4f9 100644 --- a/include/wx/msgdlg.h +++ b/include/wx/msgdlg.h @@ -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 -- 2.45.2