X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/08e5319b03f80c8554a49c1ef4c9d2adaa8587ce..3ca22d5e92f2a6689ebf569239eb127613c6c3cc:/src/motif/checkbox.cpp diff --git a/src/motif/checkbox.cpp b/src/motif/checkbox.cpp index 79ae861a60..8d89b52531 100644 --- a/src/motif/checkbox.cpp +++ b/src/motif/checkbox.cpp @@ -56,12 +56,10 @@ bool wxCheckBox::Create(wxWindow *parent, wxWindowID id, const wxString& label, wxXmString text( label1 ); Widget parentWidget = (Widget) parent->GetClientWidget(); - XmFontList fontList = - (XmFontList) m_font.GetFontList(1.0, XtDisplay(parentWidget)); m_mainWidget = (WXWidget) XtVaCreateManagedWidget ("toggle", xmToggleButtonWidgetClass, parentWidget, - XmNfontList, fontList, + wxFont::GetFontTag(), m_font.GetFontType(XtDisplay(parentWidget)), XmNlabelString, text(), NULL);