Child positioning fixes and font adjustments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user