From: Vadim Zeitlin Date: Mon, 12 Apr 2010 00:37:02 +0000 (+0000) Subject: Translate the label used by the font picker dialog. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/77e82897f298f1c0cf1458ad1e4ce42115e46ea4 Translate the label used by the font picker dialog. Simply use _() instead of wxT(). Closes #11935. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/fontpickerg.cpp b/src/generic/fontpickerg.cpp index 5696313079..e78f3588eb 100644 --- a/src/generic/fontpickerg.cpp +++ b/src/generic/fontpickerg.cpp @@ -47,8 +47,8 @@ bool wxGenericFontButton::Create( wxWindow *parent, wxWindowID id, const wxValidator& validator, const wxString &name) { wxString label = (style & wxFNTP_FONTDESC_AS_LABEL) ? - wxEmptyString : // label will be updated by UpdateFont - wxT("Choose font"); + wxString() : // label will be updated by UpdateFont + _("Choose font"); // create this button if (!wxButton::Create( parent, id, label, pos,