mColumnSelected=event.m_col;
wxPoint clientpt = event.GetPoint();
senderCtrl = event.GetEventObject();
+ unsigned int level = 0;
+ for (level = 0; level<mLevelList.size(); ++level)
+ {
+ if ( GetCtrl(level) == senderCtrl ) break;
+ }
clientpt.x+=(mColumnSelected)*(GetCtrl(0)->GetColumnWidth(mColumnSelected));
+ clientpt.x+=level*105;
+ clientpt.y+=level*2;
wxPoint screenpt = ClientToScreen(clientpt);
if(mColumnSelected!=0)
{