Displaying 8 results from an estimated 8 matches for "directorargout".
2006 Sep 20
3
Fix for non-centered windows
Two patches here:
First one removes virtual from a function that shouldn''t have been virtual.
Second one applies a typemap to catch GetRectFromChildWindow. For
reasons that are completely beyond me the standard ruby OUTPUT typemaps
don''t define directorargouts. I will take a stab at patching SWIG''s
default typemaps someday so we get this fixed for free on all our OUTPUT
typemaps.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Apr 27
5
Major Breakthrough?
Attached are patches to make the textctrl.rb sample work fully. Note
the new %directorargout typemap I added to fix wxWindows calling into
SWIG. I don''t know if this can fix all such problems or not. Let me
know what you think.
I also rubified the sample a little bit more. Also, note that I fix the
<< operator so the function can be called. I hope I did this right....
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
2006 Sep 20
1
typemap.i.patch
This patch implements a more generic solution to the problem that will
work for all our integer types at least. Use this instead of the last
version I sent, please.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2007 Jun 25
0
[1069] trunk/wxruby2/swig/typemap.i: Fix big memory leak in methods taking wxString as a parameter
...-
</del><ins>+// include SWIG''s built-in typemaps, eg for OUTPUT/INPUT
</ins><span class="cx"> %include "typemaps.i"
</span><span class="cx">
</span><ins>+
</ins><span class="cx"> %typemap(directorargout) ( int * OUTPUT ) {
</span><span class="cx"> if($1 != NULL)
</span><span class="cx"> {
</span><span class="lines">@@ -59,22 +46,17 @@
</span><span class="cx"> }
</span><span class="cx"&g...
2008 Jan 11
9
[ wxruby-Bugs-17013 ] Notebook#get_current_page
Bugs item #17013, was opened at 2008-01-11 06:00
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=17013&group_id=35
Category: Missing API call
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Daniel Brumbaugh Keeney (db-keen)
Assigned to: Nobody (None)
Summary: Notebook#get_current_page
Initial Comment:
Notebook#get_current_page
2006 Nov 06
3
HtmlWindow and friends
Hi
Attached is a patch to add HtmlWindow and some of its friends, including
HtmlEasyPrinting. Also a sample.
I haven''t tried exposing the parsing and rendering API yet to allow
custom tags etc - I just wanted to get basic HTML and the 0.6.0
compatibility classes first. There may well be some quite easy classes left.
There''s one ugly kludge to get OnOpeningURL to compile -
2006 Nov 12
0
[724] trunk/wxruby2: Initial commit of HtmlWindow functionality
...tring. * is not correct for this method, but ignore doesn''t seem to be working (SWIG 1.3.29). The typemaps below just stop a compile error
+%typemap(in, numinputs=0) wxString * redirect "//*$1 = *$1;";
+%typemap(directorargin) wxString * redirect "$1 = obj2;";
+%typemap(directorargout, fragment="output_helper") wxString * redirect {
+ //VALUE o = rb_str_new2((const char*)$1->mb_str());
+ //$result = output_helper($result, o);
+}
+
+%import "include/wxObject.h"
+%import "include/wxEvtHandler.h"
+%import "include/wxWindow.h"
+%import &q...