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
This commit is contained in:
parent
42497f30eb
commit
31d7fc0f9c
@ -161,9 +161,14 @@ bool wxControl::OS2CreateControl(
|
|||||||
SubclassWin(m_hWnd);
|
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();
|
InheritAttributes();
|
||||||
|
//
|
||||||
|
// All OS/2 ctrls use the small font
|
||||||
|
//
|
||||||
|
SetFont(*wxSMALL_FONT);
|
||||||
|
|
||||||
SetXComp(0);
|
SetXComp(0);
|
||||||
SetYComp(0);
|
SetYComp(0);
|
||||||
SetSize( rPos.x
|
SetSize( rPos.x
|
||||||
|
Loading…
Reference in New Issue
Block a user