public void OnClick() { if (_interpreterData != null) { ItinInterpreterData interp = (ItinInterpreterData)_interpreterData; if (interp._onClick != null) { interp._itinerary = this; Globals.expr_buff = String.Format(wxPorting.T("Itinerary::OnClick(%s)"), this.name); Globals.Trace(Globals.expr_buff); interp.Execute(interp._onClick); return; } } }