Lines 210-216
Link Here
|
210 |
for (; mod != mlist.end(); ++mod) |
210 |
for (; mod != mlist.end(); ++mod) |
211 |
{ |
211 |
{ |
212 |
item.SetText (wxString::FromAscii ((*mod)->getName().c_str())); |
212 |
item.SetText (wxString::FromAscii ((*mod)->getName().c_str())); |
213 |
item.SetData ((unsigned) (*mod)); |
213 |
item.SetData ((unsigned long) (*mod)); |
214 |
item.SetId(pos++); |
214 |
item.SetId(pos++); |
215 |
|
215 |
|
216 |
_sourceList->InsertItem(item); |
216 |
_sourceList->InsertItem(item); |
Lines 230-236
Link Here
|
230 |
for (unsigned int n=0; n < procmods.size(); ++n) |
230 |
for (unsigned int n=0; n < procmods.size(); ++n) |
231 |
{ |
231 |
{ |
232 |
item.SetText (wxString::FromAscii (procmods[n]->getName().c_str())); |
232 |
item.SetText (wxString::FromAscii (procmods[n]->getName().c_str())); |
233 |
item.SetData ((unsigned) procmods[n]); |
233 |
item.SetData ((unsigned long) procmods[n]); |
234 |
item.SetId (n); |
234 |
item.SetId (n); |
235 |
|
235 |
|
236 |
_targetList->InsertItem(item); |
236 |
_targetList->InsertItem(item); |
Lines 441-447
Link Here
|
441 |
|
441 |
|
442 |
if (proc) { |
442 |
if (proc) { |
443 |
item.SetText (wxString::FromAscii (proc->getName().c_str())); |
443 |
item.SetText (wxString::FromAscii (proc->getName().c_str())); |
444 |
item.SetData ((unsigned)proc); |
444 |
item.SetData ((unsigned long)proc); |
445 |
item.SetId (_targetList->GetItemCount()); |
445 |
item.SetId (_targetList->GetItemCount()); |
446 |
|
446 |
|
447 |
_targetList->InsertItem(item); |
447 |
_targetList->InsertItem(item); |