X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e58dab20ce995856303154a367bcca904066525c..c89f5c02b1ecc6098b21b39b01509dd387c1cb34:/src/os2/statbox.cpp diff --git a/src/os2/statbox.cpp b/src/os2/statbox.cpp index 7ca2b7fa23..61f5db74d6 100644 --- a/src/os2/statbox.cpp +++ b/src/os2/statbox.cpp @@ -79,12 +79,18 @@ bool wxStaticBox::Create( ,sizeof(LONG) ,(PVOID)&lColor ); - 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 wxStaticBox::Create