'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

@@ -86,7 +86,7 @@ void wxRadioBox::AdjustButtons(
, int nY
, int nWidth
, int nHeight
, long lSizeFlags
, int nSizeFlags
)
{
wxSize vMaxSize;
@@ -480,7 +480,9 @@ void wxRadioBox::DoSetSize(
if (pParent)
{
nYy = pParent->GetClientSize().y - (nYy + nHeight);
int nOS2Height = GetOS2ParentHeight(pParent);
nYy = nOS2Height - (nYy + nHeight);
nYOffset = nYy + nHeight;
}
else