# sc is a wx.SpinCtrl l = sc.GetValue() value = l return True