similar to: Part 4

Displaying 20 results from an estimated 20000 matches similar to: "Part 4"

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
2005 Sep 14
1
Part 5
This patch to wxWindow.h adds a Windows-specific function ''RegisterhotKey''. No demos use it. I didn''t test to see if it worked. Why did I add it? I don''t know. This type of thing would likely be fixed by the doxygen stuff, if we ever went down that path. Roy P.S. This is the last one _______________________________________________ wxruby-users
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 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 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: MemoryDC doesn''t inherit from DC.h.
2006 Sep 27
1
Menu.i.patch
Patch to disown wxMenuItems after they are attached to a menu. I''ll have a few more like this shortly. I''m using wxPython as a cheat-sheet for parameters that should be ''DISOWN'' Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2005 Sep 11
6
Patch to wxNotebook.rbw
Patch to the notebook example to remove the call to the deprecated NotebookSizer. It appears to work just fine without the sizer. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
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 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 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 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:
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
11
ShapedWindow.rbw
These patches implement wxRegion and the ShapedWindow sample. I stole the ruby image from ruby-lang.org. Shamelessly. Maybe someone has a better image we can use for the shaped window. It didn''t seem to make sense to use the Python image. I''d like something even bigger than what I stol^h^h^h^hmade, preferably. Image goes in icons. I had to %ignore one function in wxRegion.
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 Mar 27
4
Patch for Swig 1.3.29
Attached is a patch for Swig that at least allows us to link the library. I am experiencing a number of bugs that will need to be tracked down and squashed. I haven''t even had time to look at the newer Swig features yet. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Oct 19
4
wxPen.h
wxPen.h #ifdefs out the stipple constructor for GTK but Pen.i %ignores the stipple functions (GetStipple, SetStipple). Shouldn''t we follow the same path so we get GetStipple and SetStipple on Mac and Windows? I didn''t attach a patch. Too tired. Hopefully someone else can whip that into shape. :) Roy
2006 Oct 15
2
[Fwd: [ wxruby-Bugs-6144 ] error: cast from ‘void*’ to ‘int’ loses precision]
I think we can mark this bug closed and check in the patch. Anyone have any concerns/questions before I do? Roy -------- Original Message -------- Subject: [ wxruby-Bugs-6144 ] error: cast from ?void*? to ?int? loses precision Date: Sun, 15 Oct 2006 08:37:31 -0400 (EDT) From: <noreply at rubyforge.org> To: noreply at rubyforge.org Bugs item #6144, was opened at 2006-10-15 00:04
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. Roy
2006 Sep 03
5
Patch to wxMDIParentFrame.h
This patch file will allow the MDI example to run. We''ll need to revisit it later. There''s still a crash but it''s the same crash as from the scrolled window example. I''ll send a patch later that fixes the problem with DrawLines. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org