, int nY
, int nWidth
, int nHeight
-, long lSizeFlags
+, int nSizeFlags
)
{
wxSize vMaxSize;
if (pParent)
{
- nYy = pParent->GetClientSize().y - (nYy + nHeight);
+ int nOS2Height = GetOS2ParentHeight(pParent);
+
+ nYy = nOS2Height - (nYy + nHeight);
nYOffset = nYy + nHeight;
}
else