X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e58dab20ce995856303154a367bcca904066525c..91b4bd63177025704dd39679a2a7c4198eeb7909:/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