Displaying 1 result from an estimated 1 matches for "type_p_wxregioncontain".
2007 Oct 31
0
[ wxruby-Bugs-15225 ] Wx::Region.contains returns an opaque SWIG pointer type
...y: Nobody (None)
Assigned to: Nobody (None)
Summary: Wx::Region.contains returns an opaque SWIG pointer type
Initial Comment:
On Windows XP, with Ruby 1.8.6-25 and gem wxruby 1.9.2, call to ''contains'' method of Wx::Region object returns opaque SWIG pointer object, e.g. #<SWIG::TYPE_p_wxRegionContain:0x2e95e38>
In addition, the Region.contains() method only works when passing in a Wx::Point, e.g. my_region.contains(Wx::Point.new(x,y))
Trying my_region.contains(x,y) causes error "No matching function for overloaded ''wxRegion_Contains'' (ArgumentError)"
----------...