From: Mattia Barbon Date: Tue, 15 Feb 2011 20:31:19 +0000 (+0000) Subject: Fixed compilation when WXINTL_NO_GETTEXT_MACRO is defined. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d20dfbf04b7079a9646633fc78f5cf07ceb1f5be Fixed compilation when WXINTL_NO_GETTEXT_MACRO is defined. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/generic/progdlgg.h b/include/wx/generic/progdlgg.h index 0840acceff..61a5f5d85e 100644 --- a/include/wx/generic/progdlgg.h +++ b/include/wx/generic/progdlgg.h @@ -84,9 +84,9 @@ protected: // Return the labels to use for showing the elapsed/estimated/remaining // times respectively. - static wxString GetElapsedLabel() { return _("Elapsed time:"); } - static wxString GetEstimatedLabel() { return _("Estimated time:"); } - static wxString GetRemainingLabel() { return _("Remaining time:"); } + static wxString GetElapsedLabel() { return wxGetTranslation("Elapsed time:"); } + static wxString GetEstimatedLabel() { return wxGetTranslation("Estimated time:"); } + static wxString GetRemainingLabel() { return wxGetTranslation("Remaining time:"); } // Similar to wxWindow::HasFlag() but tests for a presence of a wxPD_XXX