X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1b086de1460fd46c21a432ac3d8dec2759e5d05a..7d0180d415f3cce126abebed2ef1d0fde00bcc61:/src/os2/radiobut.cpp?ds=inline diff --git a/src/os2/radiobut.cpp b/src/os2/radiobut.cpp index f06181dd45..f30fb7e201 100644 --- a/src/os2/radiobut.cpp +++ b/src/os2/radiobut.cpp @@ -21,6 +21,8 @@ #include "wx/setup.h" #include "wx/radiobut.h" #include "wx/brush.h" +#include "wx/dcscreen.h" +#include "wx/settings.h" #endif #include "wx/os2/private.h" @@ -83,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