Lots of fixes for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -208,16 +208,7 @@ bool wxTextCtrl::Create(
|
||||
//
|
||||
// Set font, position, size and initial value
|
||||
//
|
||||
wxFont& vFontParent = pParent->GetFont();
|
||||
|
||||
if (vFontParent.Ok())
|
||||
{
|
||||
SetFont(vFontParent);
|
||||
}
|
||||
else
|
||||
{
|
||||
SetFont(wxSystemSettings::GetFont(wxSYS_SYSTEM_FONT));
|
||||
}
|
||||
SetFont(*wxSMALL_FONT);
|
||||
if (!rsValue.IsEmpty())
|
||||
{
|
||||
SetValue(rsValue);
|
||||
|
Reference in New Issue
Block a user