Add missing wxFont constructor to wxMotif
This commit is contained in:
@@ -29,6 +29,8 @@ public:
|
||||
|
||||
wxFont(const wxFontInfo& info);
|
||||
|
||||
wxFont(const wxString& nativeFontInfoString);
|
||||
|
||||
wxFont(const wxNativeFontInfo& info);
|
||||
|
||||
wxFont(int size,
|
||||
|
@@ -213,6 +213,13 @@ wxFont::wxFont(const wxNativeFontInfo& info)
|
||||
(void)Create(info.GetXFontName());
|
||||
}
|
||||
|
||||
wxFont::wxFont(const wxString& nativeFontInfoString)
|
||||
{
|
||||
wxNativeFontInfo info;
|
||||
if ( info.FromString(nativeFontInfoString) )
|
||||
(void)Create(info.GetXFontName());
|
||||
}
|
||||
|
||||
wxFont::wxFont(const wxFontInfo& info)
|
||||
{
|
||||
m_refData = new wxFontRefData(info);
|
||||
|
Reference in New Issue
Block a user