Displaying 2 results from an estimated 2 matches for "get_right".
Did you mean:
fget_light
2012 Aug 26
0
[ wxruby-Bugs-29632 ] Missing "=" in rect.rb
...5
Category: Incorrect behavior
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: mark wonttell (runnerle)
Assigned to: Nobody (None)
Summary: Missing "=" in rect.rb
Initial Comment:
Hello,
in rect.rb on line 15, there is missing an "=" for the comparision of get_right and other.get_right
Test:
a = Wx::Rect.new(1,2,3,4)
b = Wx::Rect.new(1,2,3,4)
a == b #returns true
a = Wx::Rect.new(1,2,7,4)
b = Wx::Rect.new(1,2,3,4)
a == b #returns true
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/t...
2006 Nov 24
0
[755] trunk/wxruby2/lib/wx/classes: Nicer more meaningful string representations of objects; hide Wxruby2
...lib/wx/classes/rect.rb        2006-11-24 16:29:08 UTC (rev 755)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+class Wx::Rect
+ def to_s
+ "#<Wx::Rect: (#{get_left}, #{get_top}) (#{get_right}, #{get_bottom})>"
+ end
+end
</ins></span></pre></div>
<a id="trunkwxruby2libwxclassessizerb"></a>
<div class="addfile"><h4>Added: trunk/wxruby2/lib/wx/classes/size.rb (0 => 755)</h4>
<pre class="diff...