'Y' positioning fixes for OS/2 controls

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2001-12-21 18:08:31 +00:00
parent dccb75b60d
commit d8a3f66ca7
8 changed files with 272 additions and 47 deletions

View File

@@ -67,10 +67,10 @@ bool wxStaticLine::Create(
,WC_STATIC
,""
,WS_VISIBLE | SS_TEXT | DT_VCENTER | DT_CENTER
,rPos.x
,rPos.y
,vSizeReal.x
,vSizeReal.y
,0
,0
,0
,0
,GetWinHwnd(pParent)
,HWND_TOP
,(ULONG)m_windowId
@@ -83,6 +83,11 @@ bool wxStaticLine::Create(
return FALSE;
}
SubclassWin(m_hWnd);
SetSize( rPos.x
,rPos.y
,rSize.x
,rSize.y
);
return TRUE;
} // end of wxStaticLine::Create