Translate strings used in doc-view printing code.

Simply use _() instead of wxT() for the user-visible strings.

Closes #12110.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-05-31 14:59:03 +00:00
parent 7e22c2bd02
commit 6c4da6d611
2 changed files with 3 additions and 3 deletions

View File

@@ -929,7 +929,7 @@ private:
class WXDLLIMPEXP_CORE wxDocPrintout : public wxPrintout
{
public:
wxDocPrintout(wxView *view = NULL, const wxString& title = wxT("Printout"));
wxDocPrintout(wxView *view = NULL, const wxString& title = _("Printout"));
// implement wxPrintout methods
virtual bool OnPrintPage(int page);

View File

@@ -244,7 +244,7 @@ private:
class WXDLLIMPEXP_CORE wxPrintout: public wxObject
{
public:
wxPrintout(const wxString& title = wxT("Printout"));
wxPrintout(const wxString& title = _("Printout"));
virtual ~wxPrintout();
virtual bool OnBeginDocument(int startPage, int endPage);
@@ -376,7 +376,7 @@ class WXDLLIMPEXP_CORE wxPreviewFrame: public wxFrame
public:
wxPreviewFrame(wxPrintPreviewBase *preview,
wxWindow *parent,
const wxString& title = wxT("Print Preview"),
const wxString& title = _("Print Preview"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_FRAME_STYLE | wxFRAME_FLOAT_ON_PARENT,