Displaying 1 result from an estimated 1 matches for "wx_set_cell_editor".
2007 Jun 01
0
[1044] trunk/wxruby2: Special memory management for Wx::Grid
...self).call(row, col, rendr)
+ @__renderers[ [row, col] ] = rendr
+ end
+
+ wx_set_default_renderer = self.instance_method(:set_default_renderer)
+ define_method(:set_default_renderer) do | rendr |
+ wx_set_default_renderer.bind(self).call(rendr)
+ @__renderers[ nil ] = rendr
+ end
+
+ wx_set_cell_editor = self.instance_method(:set_cell_editor)
+ define_method(:set_cell_editor) do | row, col, editr |
+ wx_set_cell_editor.bind(self).call(row, col, editr)
+ @__editors[ [row, col] ] = editr
+ end
+
+ wx_set_default_editor = self.instance_method(:set_default_editor)
+ define_method(:set_defau...