diff --git a/src/motif/menu.cpp b/src/motif/menu.cpp index a65a5df03b..46e9e5a15f 100644 --- a/src/motif/menu.cpp +++ b/src/motif/menu.cpp @@ -656,8 +656,8 @@ void wxMenu::SetForegroundColour(const wxColour& col) void wxMenu::ChangeFont(bool keepOriginalSize) { - // Lesstif 0.87 hangs here, but 0.93 does not -#if !wxCHECK_LESSTIF() || wxCHECK_LESSTIF_VERSION( 0, 93 ) + // Lesstif 0.87 hangs here, but 0.93 does not; MBN: sometimes it does +#if !wxCHECK_LESSTIF() // || wxCHECK_LESSTIF_VERSION( 0, 93 ) if (!m_font.Ok() || !m_menuWidget) return; diff --git a/src/motif/utils.cpp b/src/motif/utils.cpp index 13133ceeac..a28fd9af4c 100644 --- a/src/motif/utils.cpp +++ b/src/motif/utils.cpp @@ -928,8 +928,8 @@ void wxDoChangeBackgroundColour(WXWidget widget, wxColour& backgroundColour, boo extern void wxDoChangeFont(WXWidget widget, wxFont& font) { - // Lesstif 0.87 hangs here, but 0.93 does not -#if !wxCHECK_LESSTIF() || wxCHECK_LESSTIF_VERSION( 0, 93 ) + // Lesstif 0.87 hangs here, but 0.93 does not; MBN: sometimes it does +#if !wxCHECK_LESSTIF() // || wxCHECK_LESSTIF_VERSION( 0, 93 ) Widget w = (Widget)widget; XtVaSetValues( w, wxFont::GetFontTag(), font.GetFontTypeC( XtDisplay(w) ),