- GetSize (&width2, &height2);
- // Correct for randomly resized listbox - bad boy, Motif!
- if (width1 != width2 || height1 != height2)
- SetSize (-1, -1, width1, height1);
-
- // (JDH) need to add code here to take care of clientDataList
- // get item from list
- wxNode *node = m_clientDataList.Find((long)N);
- // if existed then delete from list
- if (node) m_clientDataList.DeleteNode(node);
- // we now have to adjust all keys that are >=N+1
- node = m_clientDataList.First();
- while (node)
- {
- if (node->GetKeyInteger() >= (long)(N+1))
- node->SetKeyInteger(node->GetKeyInteger() - 1);
- node = node->Next();
- }
-