(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 )
dwStyle |= WS_VISIBLE;
wxWindow* pParent = GetParent();
- PSZ zClass;
+ PSZ zClass = "";
if (!pParent)
return FALSE;
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