[fxruby-users] fox 1.2 - FXMenuCheck errata

Oliver Smith olivers at mondrian-ide.com
Thu Mar 24 00:32:50 EST 2005


Still on the long conversion process to Fox 1.2... :)  I got my menus moved
to the new FXMenuCheck class and noticed that the 'checked?' instance method
no longer seems to exist.  So I switched over to 'getCheck', which works,
except my observed behavior is that it returns true when the menu is NOT
checked, and vice versa.  It was easy to solve with this:

class FXMenuCheck
	def checked?
		return !getCheck
	end
end

Thanks,

Oliver Smith




More information about the fxruby-users mailing list