From: Vadim Zeitlin Date: Tue, 30 Mar 2004 23:47:44 +0000 (+0000) Subject: set SMALL_FONT for controls here because InheritAttributes() doesn't do it any longer X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/31d7fc0f9cb3f5913ecd4a039a816487a6753a93 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 --- 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