*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
hdi.pszText = (TCHAR*)g_pos_names[idx];
hdi.fmt = HDF_STRING | g_pos_align[idx];
hdi.cxy = _widths[idx];
- (void)Header_InsertItem(hwnd, idx, &hdi);
+ Header_InsertItem(hwnd, idx, &hdi);
}
_hwndHeader = hwnd;
item.mask = HDI_WIDTH;
item.cxy = 0;
- for(; x+_widths[i]<scroll_pos && i<COLUMNS; i++) {
+ for(; i<COLUMNS && x+_widths[i]<scroll_pos; i++) {
x += _widths[i];
- (void)Header_SetItem(_hwndHeader, i, &item);
+ Header_SetItem(_hwndHeader, i, &item);
}
if (i < COLUMNS) {
x += _widths[i];
item.cxy = x - scroll_pos;
- (void)Header_SetItem(_hwndHeader, i++, &item);
+ Header_SetItem(_hwndHeader, i++, &item);
for(; i<COLUMNS; i++) {
item.cxy = _widths[i];
x += _widths[i];
- (void)Header_SetItem(_hwndHeader, i, &item);
+ Header_SetItem(_hwndHeader, i, &item);
}
}
}
x += _widths[col];
}
- (void)ListBox_SetHorizontalExtent(_hwnd, x);
+ ListBox_SetHorizontalExtent(_hwnd, x);
}
ClientRect clnt(_hwnd);
// move immediate to simulate HDS_FULLDRAG (for now [04/2000] not realy needed with WINELIB)
- (void)Header_SetItem(_hwndHeader, idx, phdn->pitem);
+ Header_SetItem(_hwndHeader, idx, phdn->pitem);
_widths[idx] += dx;
item.mask = HDI_WIDTH;
item.cxy = _widths[phdn->iItem];
- (void)Header_SetItem(_hwndHeader, phdn->iItem, &item);
+ Header_SetItem(_hwndHeader, phdn->iItem, &item);
InvalidateRect(_hwnd, 0, TRUE);
break;}