From: The D. <the...@bl...> - 2005-07-22 11:28:12
|
TBAR:ConnectEvent(-1,wx.wxEVT_LEFT_UP, function(EV) ID=TBAR:FindToolForPosition(EV:GetX(),EV:GetY()):GetId() if (EV:ControlDown()) then DoThings(ID,"C") else DoThings(ID) end EV:Skip() end ) :) |