Avoid double (contradicting) specification of wxNativeFontInfo::SetWeight

This commit is contained in:
Jouk
2018-09-05 10:44:55 +02:00
parent 8d1063389a
commit bd9c89f96d

View File

@@ -831,7 +831,7 @@ void wxNativeFontInfo::SetStyle(wxFontStyle style)
SetXFontComponent(wxXLFD_SLANT, s); SetXFontComponent(wxXLFD_SLANT, s);
} }
void wxNativeFontInfo::SetWeight(wxFontWeight weight) void wxNativeFontInfo::SetNumericWeight(int weight)
{ {
wxString s; wxString s;
switch ( weight ) switch ( weight )