X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3b5137c4e08770e1f008671ee3551bf3ab1b563b..da8b1d4b3b535aba94d04494f5b6e2b3e47901ee:/include/wx/msgdlg.h?ds=inline 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