search for: get_char_height

Displaying 2 results from an estimated 2 matches for "get_char_height".

2007 Apr 30
0
[999] branches/wxruby2/wxwidgets_282/samples/caret/caret.rb: Use paint() instead of ClientDC.new() in caret sample
...s">@@ -107,16 +107,17 @@ </span><span class="cx"> end </span><span class="cx"> </span><span class="cx"> def create_caret </span><del>- dc = ClientDC.new(self) - dc.set_font(@font) - @height_char = dc.get_char_height - @width_char = dc.get_char_width </del><ins>+ paint do | dc | + dc.set_font(@font) + @height_char = dc.get_char_height + @width_char = dc.get_char_width </ins><span class="cx"> </span><del>- caret = Caret.new(self, Size.new(@wi...
2007 Apr 30
0
[997] branches/wxruby2/wxwidgets_282: Window - 2.6 -> 2.8 API, new methods and deprecations; update doc
...><ins>+* "Window#get_capture":#Window_getcapture </ins><span class="cx"> * "Window#get_caret":#Window_getcaret </span><del>-* "Window#get_capture":#Window_getcapture </del><span class="cx"> * "Window#get_char_height":#Window_getcharheight </span><span class="cx"> * "Window#get_char_width":#Window_getcharwidth </span><span class="cx"> * "Window#get_children":#Window_getchildren </span><span class="lines">@@ -112,6 +114,7...