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
This commit is contained in:
@@ -47,8 +47,8 @@ bool wxGenericFontButton::Create( wxWindow *parent, wxWindowID id,
|
|||||||
const wxValidator& validator, const wxString &name)
|
const wxValidator& validator, const wxString &name)
|
||||||
{
|
{
|
||||||
wxString label = (style & wxFNTP_FONTDESC_AS_LABEL) ?
|
wxString label = (style & wxFNTP_FONTDESC_AS_LABEL) ?
|
||||||
wxEmptyString : // label will be updated by UpdateFont
|
wxString() : // label will be updated by UpdateFont
|
||||||
wxT("Choose font");
|
_("Choose font");
|
||||||
|
|
||||||
// create this button
|
// create this button
|
||||||
if (!wxButton::Create( parent, id, label, pos,
|
if (!wxButton::Create( parent, id, label, pos,
|
||||||
|
Reference in New Issue
Block a user