X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d37bb826ef4aeb1ecb59c37c5747a10e73340ce7..1f20a739bac80b97cd9b456259f6eabc193e531e:/src/os2/control.cpp?ds=inline 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