(void) OS2GetStyle(GetWindowStyle(), &dwExstyle);
}
//
- // All controls should have these styles (wxWindows creates all controls
+ // All controls should have these styles (wxWidgets creates all controls
// visible by default)
//
if (m_isShown )
SubclassWin(m_hWnd);
//
- // Controls use the same font and colours as their parent dialog by default
+ // Controls use the same colours as their parent dialog by default
//
InheritAttributes();
+ //
+ // All OS/2 ctrls use the small font
+ //
+ SetFont(*wxSMALL_FONT);
+
SetXComp(0);
SetYComp(0);
SetSize( rPos.x
if (nRight > pRect->xRight)
pRect->xRight = nRight;
- if (nTop < pRect->yTop)
+ if (nTop > pRect->yTop)
pRect->yTop = nTop;
- if (nBottom > pRect->yBottom)
+ if (nBottom < pRect->yBottom)
pRect->yBottom = nBottom;
} // end of wxFindMaxSize