wxPrintPaperType::GetName now uses wxGetTranslation to obtain correct paper name

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2000-06-28 18:26:54 +00:00
parent 94aaac5f83
commit 177903e236

View File

@@ -19,6 +19,7 @@
#include "wx/defs.h"
#include "wx/event.h"
#include "wx/cmndata.h"
#include "wx/intl.h"
/*
* Paper type: see defs.h for wxPaperSize enum.
@@ -40,7 +41,7 @@ public:
// platformId is a platform-specific id, such as in Windows, DMPAPER_...
wxPrintPaperType(wxPaperSize paperId, int platformId, const wxString& name, int w, int h);
inline const wxString& GetName() const { return m_paperName; }
inline wxString GetName() const { return wxGetTranslation(m_paperName); }
inline wxPaperSize GetId() const { return m_paperId; }
inline int GetPlatformId() const { return m_platformId; }