Displaying 2 results from an estimated 2 matches for "rb_menu".
Did you mean:
fl_menu
2007 May 22
0
[1029] trunk/wxruby2/swig/classes/MenuBar.i: Add special GC protection for Wx::Menu to prevent premature destruction
...r->GetMenuCount(); i++ )
+        {
+         wxMenu* menu = menu_bar->GetMenu(i);
+         VALUE rb_menu = SWIG_RubyInstanceFor(menu);
+         rb_gc_mark(rb_menu);
+        }
+}
+%}
+
+%markfunc wxMenuBar "mark_wxMenuBar";
+
</ins><span class="cx&...
2007 Jul 05
0
[1109] trunk/wxruby2/swig: Move marking of MenuBar from direct %markfunc to via mark_wxFrame, so
...r->GetMenuCount(); i++ )
-        {
-         wxMenu* menu = menu_bar->GetMenu(i);
-         VALUE rb_menu = SWIG_RubyInstanceFor(menu);
-         rb_gc_mark(rb_menu);
-        }
-}
-%}
-
-%markfunc wxMenuBar "mark_wxMenuBar";
-
</del><span class="cx&...