Displaying 10 results from an estimated 10 matches for "wxlist".
Did you mean:
xlist
2006 Aug 24
4
typemap.i patch
This patch adds %directorout typemaps for the GetTextExtent functions
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2007 Mar 29
0
[929] branches/wxruby2/wxwidgets_282/swig/classes: Fix virtual methods that shouldn''t be (Bug 9682); Add missing methods and
...e wxDC::EnableCache;
</del><ins>+// raises ''void value is not ignored as it should be'' compile error
</ins><span class="cx"> %ignore wxDC::StartPage;
</span><span class="cx">
</span><span class="cx"> // wxList version is now ''type-safe'' so we won''t be using that version instead
</span><span class="lines">@@ -20,6 +13,12 @@
</span><span class="cx"> %ignore DrawPolygon(const wxList * points , wxCoord xoffset = 0, wxCoord yoffset = 0, in...
2006 Oct 22
0
[708] trunk/wxruby2/swig/classes/DC.i: Un-ignore get_multi_line_text_extent (Roy Sutton)
...t;/span><span class="cx"> %ignore wxDC::EnableCache;
</span><span class="cx"> %ignore wxDC::StartPage;
</span><span class="cx">
</span><del>-%ignore GetMultiLineTextExtent;
-
</del><span class="cx"> // wxList version is now ''type-safe'' so we won''t be using that version instead
</span><span class="cx"> %ignore DrawLines(const wxList * points, wxCoord xoffset = 0, wxCoord yoffset = 0);
</span><span class="cx"> %ignore DrawPolygon(const...
2006 Sep 03
3
Patch for DrawLines
These enable DrawLines and DrawPolygons. I disable the wxList one since
the WX docs indicate that the list is now ''type-safe'' requiring a
derived class to send a wxList of Points. Since we''re unlikely to do
this I just blocked it off so it doesn''t interfere with internal
functions that may call that one.
Note: Memory...
2007 Mar 18
0
[895] branches/wxruby2/wxwidgets_282/swig/classes: Fix Window::GetChildren method for changes in 2.6 -> 2.8 API
...;/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 class="cx"> $result = rb_ary_new();
</span><span class="cx">
</span><del>- wxNode *node = $1->GetFirst();
</del><ins>+ wxWindowListNode *node = $1...
2007 Jan 08
0
[841] trunk/wxruby2/swig/classes: Added PasswordEntryDialog
..."cx"> ''wxPanel'' => ''wxWindow'',
</span><ins>+ ''wxPasswordEntryDialog'' => ''wxTextEntryDialog'',
</ins><span class="cx"> ''wxPathList'' => ''wxList'',
</span><span class="cx"> ''wxPen'' => ''wxGDIObject'',
</span><span class="cx"> ''wxPlotCurve'' => ''wxObject'',
</span></span></pre></div>
&l...
2006 Dec 20
0
[789] trunk/wxruby2/swig/classes/Window.i: Make GetChildren work (tho general fix for get_ruby_object still needed)
...uot;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_object(obj));
+ node = node->GetNext();
+ }
+}
+
+// general-purpose function used to return ruby wrappers around windows...
2006 Dec 23
0
[794] trunk/wxruby2: Fix get_ruby_object so it works with SWIG tracking, move find_window_xx
...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="cx"> $result = rb_ary_new();
</span><span class="cx">
</span><span class="lines">@@ -37,38 +36,57 @@
</span><span class="cx"> }
</span><span class="cx"> }
&l...
2006 Dec 20
0
[791] trunk/wxruby2/swig/classes/include/wxWindow.h: Remove shadowing GetBestSize def causing warning, plus strip crufty comments
...p  /**
-         * \brief Returns a reference to the list of the window''s children.
-        */
-
</del><span class="cx"> wxList& GetChildren() ;
</span><del>-        /**
-         * \brief \perlnote{In wxPerl this method takes no parameter and returns
-a 2-element list .}
-&nb...
2007 Apr 13
0
[954] branches/wxruby2/wxwidgets_282: Additions to Image API 2.6 -> 2.8, remove comment cruft
...sp   /**
-         * \brief Returns the static list of image format handlers.
-        */
-
</del><span class="cx"> static wxList& GetHandlers() ;
</span><del>-        /**
-         * \brief Gets the height of the image in pixels.
-     &nb...