From 31d7fc0f9cb3f5913ecd4a039a816487a6753a93 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 30 Mar 2004 23:47:44 +0000 Subject: [PATCH] set SMALL_FONT for controls here because InheritAttributes() doesn't do it any longer git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/os2/control.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/os2/control.cpp b/src/os2/control.cpp index 1dd3f453d1..f390b9c38b 100644 --- a/src/os2/control.cpp +++ b/src/os2/control.cpp @@ -161,9 +161,14 @@ bool wxControl::OS2CreateControl( SubclassWin(m_hWnd); // - // Controls use the same font and colours as their parent dialog by default + // Controls use the same colours as their parent dialog by default // InheritAttributes(); + // + // All OS/2 ctrls use the small font + // + SetFont(*wxSMALL_FONT); + SetXComp(0); SetYComp(0); SetSize( rPos.x -- 2.50.0