m_windowId = ( id == -1 ) ? NewControlId() : id;
bool isVert = IsVertical();
wxPoint pt1, pt2;
wxSize sz1, sz2;
CalcSizes( wxPoint(0,0), newSize, pt1, sz1, pt2, sz2, isVert );
m_windowId = ( id == -1 ) ? NewControlId() : id;
bool isVert = IsVertical();
wxPoint pt1, pt2;
wxSize sz1, sz2;
CalcSizes( wxPoint(0,0), newSize, pt1, sz1, pt2, sz2, isVert );