git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@201
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// default: all fields have the same width
int nWidth = nWindowWidth / m_nFields;
for ( int i = 0; i < m_nFields; i++ )
// default: all fields have the same width
int nWidth = nWindowWidth / m_nFields;
for ( int i = 0; i < m_nFields; i++ )
- pWidths[i] = (i + 1) * nWindowWidth;
+ pWidths[i] = (i + 1) * nWidth;
}
else {
// -1 doesn't mean the same thing for wxWindows and Win32, recalc
}
else {
// -1 doesn't mean the same thing for wxWindows and Win32, recalc