Use wxGetTranslation() instead of _() in the public headers.
This allows the code in them to compile even when WXINTL_NO_GETTEXT_MACRO is defined. Closes #15443. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -583,12 +583,12 @@ public:
|
||||
|
||||
// returns the size in a human readable form
|
||||
wxString
|
||||
GetHumanReadableSize(const wxString& nullsize = _("Not available"),
|
||||
GetHumanReadableSize(const wxString& nullsize = wxGetTranslation("Not available"),
|
||||
int precision = 1,
|
||||
wxSizeConvention conv = wxSIZE_CONV_TRADITIONAL) const;
|
||||
static wxString
|
||||
GetHumanReadableSize(const wxULongLong& sz,
|
||||
const wxString& nullsize = _("Not available"),
|
||||
const wxString& nullsize = wxGetTranslation("Not available"),
|
||||
int precision = 1,
|
||||
wxSizeConvention conv = wxSIZE_CONV_TRADITIONAL);
|
||||
#endif // wxUSE_LONGLONG
|
||||
|
Reference in New Issue
Block a user