From 8a95db3429157739519206fdf24b5311babde0b3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 1 May 2011 15:58:36 +0000 Subject: [PATCH] Translate various user-visible strings in rich text print code. Make default wxRichTextPrintout title and the name of wxRichTextPrinting object translatable. Closes #13187. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/richtext/richtextprint.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/richtext/richtextprint.h b/include/wx/richtext/richtextprint.h index 29b86945e7..1ff6ef1533 100644 --- a/include/wx/richtext/richtextprint.h +++ b/include/wx/richtext/richtextprint.h @@ -107,7 +107,7 @@ private: class WXDLLIMPEXP_RICHTEXT wxRichTextPrintout : public wxPrintout { public: - wxRichTextPrintout(const wxString& title = wxT("Printout")); + wxRichTextPrintout(const wxString& title = _("Printout")); virtual ~wxRichTextPrintout(); /// The buffer to print @@ -161,7 +161,7 @@ private: class WXDLLIMPEXP_RICHTEXT wxRichTextPrinting : public wxObject { public: - wxRichTextPrinting(const wxString& name = wxT("Printing"), wxWindow *parentWindow = NULL); + wxRichTextPrinting(const wxString& name = _("Printing"), wxWindow *parentWindow = NULL); virtual ~wxRichTextPrinting(); /// Preview the file or buffer -- 2.45.2