no real change; just fix the argument name of the wxFont(const wxString&) ctor under wxGTK since it was misleading
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
375330ac40
commit
34be948fdb
@ -20,9 +20,9 @@ public:
|
||||
wxFont() { }
|
||||
|
||||
// wxGTK-specific
|
||||
wxFont(const wxString& fontname)
|
||||
wxFont(const wxString& nativeFontInfoString)
|
||||
{
|
||||
Create(fontname);
|
||||
Create(nativeFontInfoString);
|
||||
}
|
||||
|
||||
wxFont(const wxNativeFontInfo& info);
|
||||
|
@ -56,8 +56,7 @@ public:
|
||||
const wxString& faceName = wxEmptyString,
|
||||
wxFontEncoding encoding = wxFONTENCODING_DEFAULT);
|
||||
|
||||
// from XFLD
|
||||
wxFontRefData(const wxString& fontname);
|
||||
wxFontRefData(const wxString& nativeFontInfoString);
|
||||
|
||||
// copy ctor
|
||||
wxFontRefData( const wxFontRefData& data );
|
||||
@ -222,9 +221,9 @@ wxFontRefData::wxFontRefData(int size, wxFontFamily family, wxFontStyle style,
|
||||
Init(size, family, style, weight, underlined, faceName, encoding);
|
||||
}
|
||||
|
||||
wxFontRefData::wxFontRefData(const wxString& fontname)
|
||||
wxFontRefData::wxFontRefData(const wxString& nativeFontInfoString)
|
||||
{
|
||||
m_nativeFontInfo.FromString( fontname );
|
||||
m_nativeFontInfo.FromString( nativeFontInfoString );
|
||||
|
||||
InitFromNative();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user