Fixes up some methods used in the scrolled window. [For giggles, try putting a GC.disable into wxScrolledWindow.rbw and try the sample. With my current build on Windows, it''s very ugly what happens after a certain point.] _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
Roy Sutton wrote:> Fixes up some methods used in the scrolled window.Neat. Applied, thanks. This fixes the following methods - would be good if someone has time to update the docs for ScrolledWindow (doc/textile/scrolledwindow.txtl) with the correct ruby signatures: calc_scrolled_position(x,y) calc_unscrolled_position(x,y) get_scroll_pixels_per_unit() get_view_start() get_virtual_size() Funnily enough, disabling GC has no effect (release). I was looking forward to a giggle... alex
Alex Fenton wrote:> Funnily enough, disabling GC has no effect (release). I was looking > forward to a giggle... >Did you remove the call to free from the sample? I didn''t patch that yet as I still don''t have it working well. Roy
Maybe Matching Threads
- [977] branches/wxruby2/wxwidgets_282/swig/classes/include/wxScrolledWindow.h: Add missing DoPrepareDC method, remove comment cruft
- [ wxruby-Bugs-6234 ] ScrolledWindow very messed up on Windows
- [976] branches/wxruby2/wxwidgets_282/samples/bigdemo/wxScrolledWindow.rbw: Remove deprecated begin_drawing and end_drawing calls
- [993] branches/wxruby2/wxwidgets_282/samples/bigdemo/wxScrolledWindow.rbw: Use ClientDC via Window#paint object
- [978] branches/wxruby2/wxwidgets_282/samples/bigdemo/wxScrolledWindow.rbw: Fix crazy crashers on MSW; fix scrolling/drawing position; safe path to bitmap