noreply at rubyforge.org
2007-Mar-15 04:46 UTC
[Wxruby-development] [ wxruby-Patches-9297 ] Patch to compile wxruby 0.0.39 on windows (vc2003, swig 1.3.31, wxwidgets 2.8.0)
Patches item #9297, was opened at 2007-03-15 00:46
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=220&aid=9297&group_id=35
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Patch to compile wxruby 0.0.39 on windows (vc2003,swig 1.3.31,wxwidgets
2.8.0)
Initial Comment:
I''m sorry for the size of this beast, but the changes to wxruby were
made just to support the other project i was working on, so they accumulated :)
Main parts of this patch
rakemswin.rb : updated to WxWidgets 2.8 and using File.join for file paths. Also
building in debug mode creates a more verbose pdb file (''-Zi'')
option
events.rb : removed 2 messages that were not supported in Wx2.8
WxChoice.h/wxCombo.h/wxControlWithItems.h/wxFontData.h/wxHtmlCell.h/
App.i/wxControl.h/wxDC.h/wxDirDialog.h/wxDialog.h/Dialog.i/
wxFileDialog.h/wxHtmlContainerCell.h/wxWindow.h/Functions.i/RubyEventTypes.i :
removed missing methods, added some new ones,fixed prototypes to conform with
Wx2.8
fixdeleting.rb : added processing of specific class directors, moved destruction
processing to specific director class''s destructor. It fixed an error
caused by calling mark func where it could not find
''@__swig_dead__'' because the pointer passed to it was pointing
to specific class instance and generic class was registered (in classes
multi-inheriting from Director (Director*)this!=this). (maybe this can also be
fixed by reordering inherited class ?). Also now all the reporting of
creation/destruction is done in specific classes (linker used only first
instance of Director code i.e all classes the same ''module'' ).
fixevents.rb : now handles evt_mouse_events properly
RubyConstants.i: platform enum seems to be missing ?
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=220&aid=9297&group_id=35
Apparently Analagous Threads
- [883] branches/wxruby2/wxwidgets_282/swig: API changes for move to WxWidgets 2.8
- [899] branches/wxruby2/wxwidgets_282/swig/classes/include/wxFontDialog.h: Fixed GetFontData() signature to match headers for wxMac, needed to get around compile error.
- [724] trunk/wxruby2: Initial commit of HtmlWindow functionality
- [898] branches/wxruby2/wxwidgets_282/swig/classes/App.i: Fix init of stock objects for Wx2.8 - was causing infinite loop +crash on OS X
- Patch to 0.0.39
