Don't assert in wxNativeFontInfo::SetStyle() in wxGTK1
Add missing "break" statement.
This commit is contained in:
@@ -819,6 +819,7 @@ void wxNativeFontInfo::SetStyle(wxFontStyle style)
|
|||||||
|
|
||||||
case wxFONTSTYLE_NORMAL:
|
case wxFONTSTYLE_NORMAL:
|
||||||
s = wxT('r');
|
s = wxT('r');
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
wxFAIL_MSG( wxT("unknown wxFontStyle in wxNativeFontInfo::SetStyle") );
|
wxFAIL_MSG( wxT("unknown wxFontStyle in wxNativeFontInfo::SetStyle") );
|
||||||
|
Reference in New Issue
Block a user