]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/textctrl.cpp
wxFileCtrl::Update was hiding wxWindow::Update
[wxWidgets.git] / src / os2 / textctrl.cpp
index 66b4819ebb0846a41fe7b46b54c7907f6063e657..61e2be6e405df0b06f6171c56fcddb6c5c7832ec 100644 (file)
@@ -208,7 +208,12 @@ bool wxTextCtrl::Create(
     //
     // Set font, position, size and initial value
     //
-    SetFont(*wxSMALL_FONT);
+    wxFont*                          pTextFont = new wxFont( 10
+                                                            ,wxMODERN
+                                                            ,wxNORMAL
+                                                            ,wxNORMAL
+                                                           );
+    SetFont(*pTextFont);
     if (!rsValue.IsEmpty())
     {
         SetValue(rsValue);