]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/textctrl.cpp
Added an #ifdef
[wxWidgets.git] / src / motif / textctrl.cpp
index 5a8950d25da7d446368b6b7da1308bc5d7a35d56..9668a888a848b800b03c8ea20c74bfd714609319 100644 (file)
@@ -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);