search for: wx_obj

Displaying 4 results from an estimated 4 matches for "wx_obj".

Did you mean: rk_obj
2006 Dec 23
0
[794] trunk/wxruby2: Fix get_ruby_object so it works with SWIG tracking, move find_window_xx
...already exists, +// and if not, wrap it in the correct class, and ensure that future +// calls return the same object. </ins><span class="cx"> %{ </span><del>-static VALUE get_ruby_object(wxObject *obj) </del><ins>+static VALUE get_ruby_object(wxObject *wx_obj) </ins><span class="cx"> { </span><del>-&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspif ( ! obj ) </del><ins>+ if ( ! wx_obj ) return Qnil; + + // Get the wx class and the ruby class we are converting into + wxString clas...
2007 Jul 05
0
[1109] trunk/wxruby2/swig: Move marking of MenuBar from direct %markfunc to via mark_wxFrame, so
...-62,11 +63,7 @@ </span><span class="cx"> void OnWindowDestroy(wxWindowDestroyEvent &event) </span><span class="cx"> { </span><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspwxObject* wx_obj = event.GetEventObject(); </span><del>-&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp// Would be neater - but can''t do it this way b/c of destruction sequence -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp// SWIG_RubyUnlinkOb...
2007 May 21
0
[1022] trunk/wxruby2/swig/classes/App.i: Memory mgmt: use Wx::App to mark still-alive Windows, set up Wx::THE_APP const
...cial event handler for destruction of windows which is done + // automatically by wxWidgets. Tag the object as having been destroyed + // by WxWidgets. + void OnWindowDestroy(wxWindowDestroyEvent &event) + { +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspwxObject* wx_obj = event.GetEventObject(); +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp// Would be neater - but can''t do it this way b/c of destruction sequence +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp// SWIG_RubyUnlinkObjects((void *)wx_obj); +...
2007 Jul 21
0
[1136] trunk/wxruby2/swig/classes/App.i: Note when the Wx::App is exiting and avoid doing GC if in process of
...;nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2007-07-21 16:42:13 UTC (rev 1136) </span><span class="lines">@@ -68,8 +68,7 @@ </span><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspGC_SetWindowDeleted(wx_obj); </span><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspevent.Skip(); </span><span class="cx"> } </span><del>- - </del><ins>+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nb...