Fix crash on exit with Lesstif (and possibly Motif 1.x).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -929,7 +929,7 @@ extern void wxDoChangeFont(WXWidget widget, wxFont& font)
|
||||
#if !wxCHECK_LESSTIF() || wxCHECK_LESSTIF_VERSION( 0, 93 )
|
||||
Widget w = (Widget)widget;
|
||||
XtVaSetValues( w,
|
||||
wxFont::GetFontTag(), font.GetFontType( XtDisplay(w) ),
|
||||
wxFont::GetFontTag(), font.GetFontTypeC( XtDisplay(w) ),
|
||||
NULL );
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user