I am using wxFormBuilder version 3.0.57 to produce an xrc file for my
I have used this successfully for some time now.
However, I have been unable to get a checkbox menu item to function the
way that I expect it to. That is, when I try to test if the box is
checked, as described in the wxRuby doc’s, it generates an error stating
that .is_checked is not a method.
I am doing all of this exactly the same way as I work with non-menu
What is the problem here?
undefined method `is_checked’ for 120:Fixnum (NoMethodError)
Note: the 120 in the error message is the ID for @my_menuitem_checkbox.
Platform: Ubuntu 9.04 (32bit), Ruby 1.8.7, everything is up to date.