Displaying 3 results from an estimated 3 matches for "getmenubar".
Did you mean:
get_menu_bar
2007 Jul 21
0
[1135] trunk/wxruby2/swig/mark_free_impl.i: Convert from DOS to Unix newlines
...// Frames are also a subclass of wxWindow, so must do all the marking
- // of sizers and carets associated with that class
- GC_mark_wxWindow(ptr);
-
- wxFrame* wx_frame = (wxFrame*)ptr;
- // Then mark the MenuBar, if one is associated with this Frame
-
- wxMenuBar* menu_bar = wx_frame->GetMenuBar();
- if ( menu_bar )
-        { GC_mark_MenuBarBelongingToFrame(menu_bar); }
-}
-
-// Prevents Ruby''s GC sweeping up items that are stored as client data
-// Checks whether the C++ object is still around first...
-void mark_...
2007 Jul 21
0
[1127] trunk/wxruby2: Move shared C++ GC functions into separate file included into wx.i
...// Frames are also a subclass of wxWindow, so must do all the marking
+ // of sizers and carets associated with that class
+ GC_mark_wxWindow(ptr);
+
+ wxFrame* wx_frame = (wxFrame*)ptr;
+ // Then mark the MenuBar, if one is associated with this Frame
+
+ wxMenuBar* menu_bar = wx_frame->GetMenuBar();
+ if ( menu_bar )
+        { GC_mark_MenuBarBelongingToFrame(menu_bar); }
+}
+%}
</ins></span></pre></div>
<a id="trunkwxruby2swigwxi"></a>
<div class="modfile"><h4&...
2007 Jul 05
0
[1109] trunk/wxruby2/swig: Move marking of MenuBar from direct %markfunc to via mark_wxFrame, so
...// Frames are also a subclass of wxWindow, so must do all the marking
+ // of sizers and carets associated with that class
+ GC_mark_wxWindow(ptr);
+
+ wxFrame* wx_frame = (wxFrame*)ptr;
+ // Then mark the MenuBar, if one is associated with this Frame
+
+ wxMenuBar* menu_bar = wx_frame->GetMenuBar();
+ if ( menu_bar )
+        { GC_mark_MenuBarBelongingToFrame(menu_bar); }
+}
+
</ins><span class="cx"> %}
</span><span class="cx">
</span><span class="cx"> %init...