noreply at rubyforge.org
2008-Jun-20 15:44 UTC
[wxruby-development] [ wxruby-Bugs-20754 ] get_scroll_pos doesn''t work in darwin?
Bugs item #20754, was opened at 2008-06-20 11:44
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=20754&group_id=35
Category: Incorrect behavior
Group: current
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: get_scroll_pos doesn''t work in darwin?
Initial Comment:
A code snippet
def fc_fbox_click(event)
ypos = (@fc_foundbox.get_scroll_pos(VERTICAL) || 0) + event.get_y
lheight = text_extent(''|'', @font0)[1]
ldoc = ypos / lheight
...
works perfectly in win32 and linux 2.6 but not in OsX Leopard:
ruby 1.8.6 (2007-09-24 patchlevel 111) [universal-darwin9.0]
wxruby (1.9.7)
get_scroll_pos(VERTICAL) returns nil or zero.
Kind reagrds, frank w?ckener
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=20754&group_id=35