]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/radiobox.cpp
PyCrust updates
[wxWidgets.git] / src / os2 / radiobox.cpp
index 47a6fbdd9c0892761c6c05d8436600243ee8579a..fa32d2ccadc66792b342bd71625eed1ded32314c 100644 (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