X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8cbd2bdeff7178c343d4f5832f5d83aa37d89ca1..58c7cd12b9035450e702d36dfdce63bfd008bcd0:/src/motif/stattext.cpp diff --git a/src/motif/stattext.cpp b/src/motif/stattext.cpp index 996cf9315e..ab21159392 100644 --- a/src/motif/stattext.cpp +++ b/src/motif/stattext.cpp @@ -45,7 +45,7 @@ bool wxStaticText::Create(wxWindow *parent, wxWindowID id, m_windowId = id; m_windowStyle = style; - m_windowFont = parent->GetFont(); + m_font = parent->GetFont(); char* label1 = (label.IsNull() ? "" : (char*) (const char*) label); @@ -56,7 +56,7 @@ bool wxStaticText::Create(wxWindow *parent, wxWindowID id, // XmString text = XmStringCreateSimple (label1); XmString text = XmStringCreateLtoR (label1, XmSTRING_DEFAULT_CHARSET); - XmFontList fontList = (XmFontList) m_windowFont.GetFontList(1.0, XtDisplay(parentWidget)); + XmFontList fontList = (XmFontList) m_font.GetFontList(1.0, XtDisplay(parentWidget)); m_mainWidget = (WXWidget) XtVaCreateManagedWidget ((char*) (const char*) name, xmLabelWidgetClass,