Displaying 20 results from an estimated 10000 matches similar to: "GetSize and GetPosition"
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 Oct 05
8
samples
What do you think about adding a shebang line to the samples so they can
be launched on linux/mac like you can on windows?
Roy
2006 Oct 12
8
announcement
Hi
Now we''ve got the download problems nailed, shall we do an announcement
on comp.lang.ruby? I can do it if you''re really busy, but Kevin I think
you have first refusal as you''re owed the biggest chunk of kudos for
getting us this far.
re patch backlog: no worries - just clearing the decks before having
another go at integrating wxScintilla - but I can''t
2006 Aug 24
4
SWIG
I decided to try my hand at hacking SWIG and successfully produced a
patch that fixes the error I demonstrated. I''m not -positive- it''s
correct for all cases but I''ll re-run my version of SWIG over the
library and see how things turn out.
Roy
2006 Apr 18
12
Update on SWIG
SWIG 1.3.29 isn''t going to cut it for us. We''ll have to wait until
1.3.30, unless I can hack together a nasty workaround for a problem with
the object tracking. It seem that each SWIG module gets its own hash
for tracking objects. This means that, for example, you create a find
dialog (in FindReplaceDialog.cpp) events you get from it (from
FindDialogEvent.cpp)
2006 Sep 17
3
ruby-lang.org
How''d we get listed on the top page of projects for Ruby? (See right
side below ''Top Ruby Projects'')
:)
Roy
2005 Sep 24
2
Interesting Link...
http://visualwx.altervista.org/
A visual builder for wxWindows that purports to support Ruby. I''ll play
with this some and see if I can design projects that work with wxRuby2.
Roy
2006 Nov 23
2
to_s
I was toying around with adding a to_s function to wxPoint (and probably
to some other classes). I''m wondering if this is a good idea or not and
if so, is it best to use %extend or put it into something like wxSugar
or the ruby parts of wx?
My initial implementation is:
%extend wxPoint {
VALUE to_s()
{
char buffer[40];
sprintf(buffer, "%d,%d", self->x,
2005 Aug 19
6
Listbook patch
Small patch to correct spelling of lemonade. Should ask Sean if he
really wanted it to be lemonaid. If not, here''s the patch.
On another note... This sample works! Kudos. It is odd that the
textbox doesn''t scroll. I suppose I may patch that, too.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
2006 Sep 24
4
SWIG exceptions
I was trying to fix the problem with wxImage and the char */unsigned
char * thing today and I was going to hand-write the functions to
translate between the two. While doing so I decided I''d clean up the
SWIG error message to make it more clear. Here''s an example
SWIG-generated argument error:
in method SetData'', argument 2 of type ''wxImage *''
2006 Oct 21
2
common.i patch
The latest cvs version of SWIG breaks a few things. I have patched
common.i to fix most of it. There will be some other things later that
should be compatible with all versions. Can someone test to see if this
compiles with the old version?
Roy
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: common.i.patch
Url:
2005 Sep 02
2
ColourDialog
The ColourDialog (Darn Brits messing up the spellings of perfectly good
words!) has a weird behavior. When you first open it you can''t select a
color from the ''rainbow'' on the right side until you select a basic
color on the left. I don''t think this was the case before we did the
big inheritance change. Does anyone else remember if it worked properly
2006 Sep 12
1
Patch to wxMouseEvent.h
This patch just applies some const tags that were missing (does this
affect anything at all?) and removes a definition that was causing a
conflict.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Sep 12
6
Patch for Unicode on windows
This patch makes Unicode the default build for windows. You can
override the default by setting a WXRUBY_NO_UNICODE environment variable.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Sep 22
4
rubyforge
I think it''s time to get me onto the project at rubyforge so I can
subscribe to the bug tracker. As we move forwards with more maintenance
oriented tasks it will be helpful to be able to patch directly to SVN.
For now, I''ll keep submitting patches to the list.
Roy
2006 Apr 23
5
ComboBox patch files
The following two files correct problems with the ComboBox
implementation. You will also need my typemap.i.patch file
(forthcoming) in order for the void * typemap to work properly (I think).
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Oct 19
1
RubyConf
I might be a bit scarce this weekend -- I managed to score a late ticket
to RubyConf! I''ll be in Denver hobnobbing with Matz. :)
Roy
2006 Sep 12
1
wx/wx.h
We include wx/wx.h in a lot of places. It seems from a (very) cursory
examination that the current method is to include wx/wxprec.h. Seems to
work fine including wx/wx.h so this may be entirely a non-issue. Does
anyone have any feelings on this?
Roy
2006 Sep 06
12
Patch to wxWindow.h
This patch fixes background color problems (at least on Windows). It
uses the dreaded ''FIXME''
My plan for next weekend is to try building wxPython from the source to
see how they manage to achieve several things with SWIG that we''re not
(yet) able to. If I''m successful it might lead to wrapping a
significant portion of wxWidgets more correctly than
2006 Sep 19
7
SVN and demo files
The files checked out of SVN come out without the ability to be
executed. So, I can''t run the samples without prefixing with ''ruby ''
Before, the file associations allowed me to run samples just by putting
the name on the command line. Can we fix this?
Roy