Displaying 20 results from an estimated 40000 matches similar to: "wxArrayInt typemap patch"
2005 Sep 04
3
Possible patch for wxCheckListBox.h
I cut-n-pasted the public section from the wxWindows headers. Several
things were missing so it seemed the easiest way to fix it. This fixed
a problem with the way the overloaded new was being handled. This
correctly generated all the versions so that it won''t have the problem
with the non-initialized default parameters. I will admit I haven''t
done serious testing on
2006 Nov 24
0
[756] trunk/wxruby2/swig: Moved one-shot typemaps for ListBox.get_selections into ListBox.i
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
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
2005 Sep 11
1
Patch for typemap.i and Window.i
Added typemap for the differently-prototyped GetTextExtent. It was
%ignored in Window.i. Since I added the typemap it doesn''t seem like
we''ll need to %ignore it.
Again, the patch for typemap.i is since the last check-in.
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2005 Sep 28
1
Patch for typemap.i
This patch for typemap.i fixes several swig warnings while compiling.
You may noticed that I didn''t fix all the typecheck typemaps. I suppose
I should fix all of them, but they don''t cause problems with the
compilation.
This also has a patch to convert void *''s into ruby numbers. This fixes
a problem with the get_handle call.
I still am not sure what''s
2005 Sep 11
0
Fix to typemap.i
This patch fixes ListBox''s get_selections so it will take 0 arguments.
The patch file includes the previous patch to typemap.i. If you''ve
already applied the patch I think you can just delete the 2nd part of
the patch.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Sep 21
1
typemap.i.patch: The Next Generatio
OK, I figured it out. It was basically right the first time. I was bit
in the backside by macro side effects. Turns out NUM2INT causes its
argument to be called twice so it was double shifting. This version
doesn''t do that.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
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 Oct 17
0
Typemap.i checked in and attached RadioBox.i.patch
I checked in a small change to typemaps.i that adds an enum that was missing
Attached is a slightly larger patch. I felt pretty confident checking
this in but I''ll send it out so others can check it out. This should
make the radiobox tab in controls.rb work.
Roy
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: RadioBox.i.patch
2007 Jan 08
0
[845] trunk/wxruby2/swig/classes: Added MultiChoiceDialog in class form
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 Jul 18
0
[1119] trunk/wxruby2/swig/Functions.i: Avoid erroneous ''parent must not be nil'' errors when using global
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2006 Apr 12
6
*OUTPUT/*INPUT typemaps
Hi
Have been looking again at SWIG output pointer parameters, as:
http://www.swig.org/Doc1.3/Ruby.html#Ruby_nn32
The problem is, whenever I tried to include the SWIG/Ruby ''typemaps.i''
file, it threw loads of errors.
A bit more investigation pinned the problem down to some secondary files
that typemaps.i includes to map ''special'' types like File.
So I tried
2005 Sep 03
1
Whole lotta stuff
1) Please ignore the patch for wxMouseEvent.h. Including this causes
the build to fail.
2) Attached are several files to patch some things to get the bigdemo
working (better):
Added a generic typemap for converting ruby arrays into point arrays.
Added a typedef for wxDash
Corrected/expanded the typemap for GetTextExtent
Added GetMultiLineTextExtent prototype (there are some others missing I
2005 Aug 11
2
Patch file for FileDialog.i
Attached is a patch file for FileDialog.i. It doesn''t work 100% yet
because I haven''t yet figured out how to make it put the ruby
declarations in the right place. If I cut and paste the
rb_define_methods into the right place this works perfectly.
This patch fixes the dialogs.rb multiple select example so that
get_paths and get_filenames returns a ruby array. Note that I
2005 Aug 20
1
patches for wxGridCell*Renderer and wxGridCell*Editor
I added a bunch of *.i files to get the cell renderers and editors
working for wxGrid. I still have a problem when switching cells in the
grid but I think that is a problem with wxGrid, will look into it.
In the process I found a bug in a typemap for wxArrayString & that I
am surprised we did not find earlier. ($input = Qnil) should be
($input == Qnil), big difference. Also added a type check
2005 Sep 14
1
Patches I missed, pt. 2
StatusBar.i -- Adds a typemap to return a wxRect structure. You''ll
really want to go over this to make sure it''s correct. I don''t have a
sample but it did make part of one of the bigdemo samples work a little
better. If you want to put this on the back-burner until we have a
chance to test it more fully I''d understand completely.
One of the things
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
2006 Sep 21
2
wxImage patches
These patches allow the RMagick sample to work with wxRuby2. They also
open up some functions that were %ignored that probably shouldn''t be (at
least with the typemap adjustment).
I think we may need to visit (or document carefully) what happens when
you pass in a string of data to the constructor or to SetAlpha. We need
to decide which setting of static_data is correct for the
2008 Jan 17
1
wxSockets
Hello guys,
Alright Alex..... I need a few tips on where to start. I know that I''m
going to need to rewrite the wxSocket header files, in order to incorperate
them into wxRuby. But some advice on stuff such as
wxSocketClient::new/connect, where it takes a wxIPAddress, and so forth. I
know they are pretty friviolous structures for holding information about
Addresses in which to make
2006 Nov 23
0
[752] trunk/wxruby2: Fix for Bug #6810: ListBox#get_selections should return an array of selections
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: