X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4a162522b875bc7cb23f1d165703f71bd7010f7..aa0ffd1d926cb1282fb75a1ce0e083421ade2f0b:/src/os2/button.cpp diff --git a/src/os2/button.cpp b/src/os2/button.cpp index 83301398f7..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(pParent->GetFont()); + wxFont* pButtonFont = new wxFont( 8 + ,wxSWISS + ,wxNORMAL + ,wxNORMAL + ); + SetFont(*pButtonFont); + SetXComp(0); + SetYComp(0); SetSize( rPos.x ,rPos.y ,rSize.x