[wxruby-development] [ wxruby-Bugs-20754 ] get_scroll_pos doesn't work in darwin?

noreply at rubyforge.org noreply at rubyforge.org
Fri Jun 20 11:44:35 EDT 2008


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


More information about the wxruby-development mailing list