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:
David Webster
2002-01-25 04:48:36 +00:00
parent 9866d9c299
commit 2c1e8f2ec2
4 changed files with 30 additions and 7 deletions

View File

@@ -208,7 +208,12 @@ bool wxTextCtrl::Create(
//
// Set font, position, size and initial value
//
SetFont(*wxSMALL_FONT);
wxFont* pTextFont = new wxFont( 10
,wxMODERN
,wxNORMAL
,wxNORMAL
);
SetFont(*pTextFont);
if (!rsValue.IsEmpty())
{
SetValue(rsValue);