Hi, I've got a fairly simple screen where I'm doing drag-and-drop inside a TreeCtrl. Since it's inside a single control, I'm not using the Wx support for d-n-d, I'm just setting a flag on left-down, calling $tree->Refresh on each motion event (when the flag is set) and making the paint handler draw the drop target (again, when the flag is set).
I'm seeing a pronounced lag between the call to Refresh in the motion handler and when the paint handler kicks off. Basically, it won't refresh until the mouse is basically stopped. I've done similar things quite often in the past (similar to the extent of doing d-n-d between two different tree controls) and this lag has not been apparent; the drop target is painted smoothly as the mouse is moved around. I don't think this is a bug as it works fine on our older system. Does anyone know of a reason this should be the case? System info: Slow on this: Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-33-generic x86_64) libalien-wxwidgets-perl 0.54+dfsg-1 libwx-perl 1:0.9903-1 libwxgtk2.8-0 2.8.12.1-6ubuntu2 Fast on this: OpenSUSE 10 SP2 Alien-wxWidgets-0.43 Wx-0.91 wxWidgets 2.8.10 Thanks, -- Ian Macdonald