Hello!
I have a problem with the checkboxes. I am using  
wx.wxEVT_COMMAND_CHECKBOX_CLICKED event handler, to disable some other  
control. It works fine, when I click on the control. But I set the  
checkbox values by wxCheckBox:SetValue(true/false). This doesn't call the  
event, so I tried with  
myApp:ProcessEvent(wx.wxCommandEvent(wx.wxEVT_COMMAND_CHECKBOX_CLICKED,xmlResource:GetXRCID(checkbox)))
  
which calls the event, but there I use 'if event:IsChecked() then'  
conditions, which is always false, because the event is 'fake', not a real  
click. Can I set up the IsChecked field of the event, or is there any call  
which generates an event too?
Thanks for the replies: Attila

------------------------------------------------------------------------------
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to