search for: y_inout

Displaying 7 results from an estimated 7 matches for "y_inout".

Did you mean: x_inout
2006 Sep 27
1
wxWindow.h.patch
This patch file removes ''virtual'' from several methods that aren''t supposed to have it. Also, it changes two parameters to x_INOUT and y_INOUT as was suggested by Kevin. I broke down and did this because it''s one of the few places that int *''s are used for input and output. _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxrub...
2007 Jul 21
0
[1129] trunk/wxruby2/swig/classes/Window.i: Add DISOWN typemap for ToolTip so it isn''t double-deleted
...+%apply SWIGTYPE *DISOWN {wxToolTip* tip}; </ins><span class="cx"> </span><del>-// Any sizers passed in to wx become owned by C++ -%apply SWIGTYPE *DISOWN {wxSizer* sizer}; - </del><span class="cx"> %apply int * INOUT { int * x_INOUT, int * y_INOUT } </span><span class="cx"> </span><span class="cx"> // Typemap for GetChildren - casts wxObjects to correct ruby wrappers </span></span></pre> </div> </div> </body> </html>
2007 Mar 18
0
[895] branches/wxruby2/wxwidgets_282/swig/classes: Fix Window::GetChildren method for changes in 2.6 -> 2.8 API
.../wxwidgets_282/swig/classes/Window.i&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2007-03-18 10:29:32 UTC (rev 895) </span><span class="lines">@@ -32,10 +32,10 @@ </span><span class="cx"> %apply int * INOUT { int * x_INOUT, int * y_INOUT } </span><span class="cx"> </span><span class="cx"> // Typemap for GetChildren - casts wxObjects to correct ruby wrappers </span><del>-%typemap(out) wxList& { </del><ins>+%typemap(out) wxWindowList& { </ins><span...
2006 Dec 20
0
[789] trunk/wxruby2/swig/classes/Window.i: Make GetChildren work (tho general fix for get_ruby_object still needed)
...uot;cx"> # %ignore wxWindow::SetCaret; </span><span class="cx"> </span><span class="lines">@@ -25,8 +24,28 @@ </span><span class="cx"> </span><span class="cx"> %apply int * INOUT { int * x_INOUT, int * y_INOUT } </span><span class="cx"> </span><ins>+// Typemap for GetChildren +%typemap(out) wxList& { + $result = rb_ary_new(); + + wxNode *node = $1->GetFirst(); + while (node) + { + wxObject *obj = node->GetData(); + rb_ary_push($result, get_ruby_objec...
2006 Dec 23
0
[794] trunk/wxruby2: Fix get_ruby_object so it works with SWIG tracking, move find_window_xx
...rted in WxRuby </span><span class="cx"> %ignore wxWindow::SetConstraints; </span><span class="lines">@@ -24,7 +23,7 @@ </span><span class="cx"> </span><span class="cx"> %apply int * INOUT { int * x_INOUT, int * y_INOUT } </span><span class="cx"> </span><del>-// Typemap for GetChildren </del><ins>+// Typemap for GetChildren - casts wxObjects to correct ruby wrappers </ins><span class="cx"> %typemap(out) wxList& { </span><span class=&...
2006 Dec 20
0
[791] trunk/wxruby2/swig/classes/include/wxWindow.h: Remove shadowing GetBestSize def causing warning, plus strip crufty comments
...;nbsp&nbsp&nbsp * \param int* -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param int* -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp*/ - </del><span class="cx"> void ClientToScreen(int* x_INOUT , int* y_INOUT ) const; </span><del>-&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp/** -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \brief Converts to screen coordinates from coordinates relative to this window. - - - - - - - -\pythonnote{In pla...
2007 Mar 17
0
[883] branches/wxruby2/wxwidgets_282/swig: API changes for move to WxWidgets 2.8
...ction = wxBOTH) ; </del><span class="cx"> void CentreOnParent(int direction = wxBOTH) ; </span><del>- void CentreOnScreen(int direction = wxBOTH) ; </del><ins>+ </ins><span class="cx"> void ClientToScreen(int* x_INOUT , int* y_INOUT ) const; </span><span class="cx"> wxPoint ClientToScreen(const wxPoint& pt ) const; </span><span class="cx"> bool Close(bool force = false) ; </span><span class="lines">@@ -47,7 +49,7 @@ </span><span class="cx&...