Minor corrections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -144,7 +144,9 @@ bool wxNativeFontInfo::FromString(const wxString& s)
|
||||
|
||||
wxString wxNativeFontInfo::ToString() const
|
||||
{
|
||||
wxString tmp = wxGTK_CONV_BACK( pango_font_description_to_string( description ) );
|
||||
char *str = pango_font_description_to_string( description );
|
||||
wxString tmp = wxGTK_CONV_BACK( str );
|
||||
g_free( str );
|
||||
|
||||
return tmp;
|
||||
}
|
||||
|
Reference in New Issue
Block a user