]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/radiobut.cpp
A few tweaks and cleanups
[wxWidgets.git] / src / os2 / radiobut.cpp
index 1f48c70a66e373496d707daccde91b9ea0108750..f30fb7e20170ffa518d36f692a10f878b8eadd7e 100644 (file)
@@ -85,12 +85,18 @@ bool wxRadioButton::Create(
     if (HasFlag(wxRB_GROUP))
         SetValue(TRUE);
 
-    SetFont(*wxSMALL_FONT);
+    wxFont*                          pTextFont = new wxFont( 10
+                                                            ,wxMODERN
+                                                            ,wxNORMAL
+                                                            ,wxNORMAL
+                                                           );
+    SetFont(*pTextFont);
     SetSize( rPos.x
             ,rPos.y
             ,rSize.x
             ,rSize.y
            );
+    delete pTextFont;
     return TRUE;
 } // end of wxRadioButton::Create