X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d390f6eefc317e8db03a9e891011d74bf4b7e1b2..78bd7ed38ccdfdd5f2cf6cf77089046b9e3993b5:/src/motif/textctrl.cpp diff --git a/src/motif/textctrl.cpp b/src/motif/textctrl.cpp index 5a8950d25d..9668a888a8 100644 --- a/src/motif/textctrl.cpp +++ b/src/motif/textctrl.cpp @@ -185,7 +185,7 @@ bool wxTextCtrl::Create(wxWindow *parent, XtAddCallback((Widget) m_mainWidget, XmNlosingFocusCallback, (XtCallbackProc)wxTextWindowLoseFocusProc, (XtPointer)this); // font - m_windowFont = parent->GetFont(); + m_font = parent->GetFont(); ChangeFont(FALSE); SetCanAddEventHandler(TRUE);