'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:
@@ -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
|
||||
|
Reference in New Issue
Block a user