2 problems in wxc/listctrl.cpp

wxD
some one
2008-05-09
2013-05-22
  • some one
    some one
    2008-05-09

    on ubuntu 8.04

    direct cast (int)data errors out, so I changed it to

    line 233: return self->SetItemData(item, *((int*)data))?1:0;
    line 738: self->SetData(*((int*)data));

    hope this is what it intended.

     
    • It should have been cast(long) instead of int, and it should be fixed in CVS already ?