Hi. I am having some trouble with using hit test for htmllistbox in wxRuby. It seems to return some odd results, even when this is not over the control. The context is in a context menu event. I am able to use hit_test with ListCtrl, but I can't seem to get it to work.
case
when (ht = @htmllist.hit_test(@htmllist.screen_to_client evt.get_position)) != NOT_FOUND
# ...
Am I messing this up somehow?