X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e58dab20ce995856303154a367bcca904066525c..2e36d5cf818d64c8abdb3da1861d233d774be139:/src/os2/button.cpp diff --git a/src/os2/button.cpp b/src/os2/button.cpp index ab27b61602..33634d0a7a 100644 --- a/src/os2/button.cpp +++ b/src/os2/button.cpp @@ -100,7 +100,14 @@ bool wxButton::Create( // Subclass again for purposes of dialog editing mode // SubclassWin(m_hWnd); - SetFont(*wxSMALL_FONT); + wxFont* pButtonFont = new wxFont( 8 + ,wxSWISS + ,wxNORMAL + ,wxNORMAL + ); + SetFont(*pButtonFont); + SetXComp(0); + SetYComp(0); SetSize( rPos.x ,rPos.y ,rSize.x