similar to: swigwin

Displaying 20 results from an estimated 1000 matches similar to: "swigwin"

2005 Jul 31
5
SWIG compilation
The result of the compilation after installing swig results in lots of errors of the sort: WindowDisabler.obj : error LNK2001: unresolved external symbol _SWIG_Ruby_ConvertPtr I can see this is defined in rubydef.swg but I''m not sure why this isn''t just included in the files that need it. Can any swig experts tell me what I need to do to progress? I''m using
2005 Aug 03
24
patch for Icon
I just checked out a fresh copy and had to tweak wxIcon.h to get it to compile on Mac OS X and windows. The problem is with: wxIcon(const wxString& filename, wxBitmapType type = wxBITMAP_TYPE_XPM, int desiredWidth=-1, int desiredHeight=-1); that signature is only used on GTK on other systems it is: wxIcon(const wxString& name, long
2005 Aug 07
2
Icon problem still exists on latest tarball
Icon.cpp still errors with: src/Icon.cpp(1200) : error C2666: ''wxIcon::wxIcon'' : 2 overloads have similar conversions I''ll now re-swig everything and see how it goes. Roy
2004 Apr 22
13
Rake and VC++ 6
Has anybody tried the new wxruby-swig from the msvc++ command line compiler using ''rake''? The rakefile seems to depend on the wx_config method, which doesn''t exist for msw because it doesn''t have BASH to execute the shell script. Has anyone hacked the rakefile to fix this? Nick
2005 Aug 02
3
compile fix for wx2.6
building on ubuntu with wx2.6 gives only one error: an argument type has changed from long to wxBitmapType in a constructor of the wxIcon class. These changes were needed to fix the build. This brings up the question what is the status of the swig/classes/include files which were generated using the xml extract script which is no longer available in CVS. Should that script be rerun using wx2.6
2006 Sep 03
9
Patch files to implement AcceptFocus
These files add the virtual function AcceptFocus that was missing from wxWindow.h. In order to make things right I had to make sure it was also declared in all the places where wxWindows also changes it. Also, in wxTextCtrl on Windows GetDefaultAttributes needs to be redeclared. I haven''t downloaded the Unix and Mac headers for 2.6.3 so I couldn''t see if it also applies
2005 Jul 30
7
Can''t compile the cvs-tree
Hi folks, Let me start off by saying I''ve just been following wxruby development for two or three days now and have read up on alot on what has been going on. I must say I''m impressed and happy about all the things being developed and created by you guys! You got me all excited and I know I''m not the only one. If I have an opportunity to spend more time investigating
2005 Aug 07
4
Reswigged link error
After reswigging I get link problems: Functions.obj : error LNK2001: unresolved external symbol _mWxruby2 Mac.obj : error LNK2001: unresolved external symbol _mWxruby2 Events.obj : error LNK2001: unresolved external symbol _mWxruby2 ... Which is intriguing since it seems to be defined in wx.cpp
2005 Jul 30
1
Latest checked in files
The latest tarball appears to require SWIG to build. I''m guessing one of the swig output files is missing in the CVS. It stops here: NotebookEvent.cpp swig -noruntime -noextern -w401 -w801 -w515 -c++ -ruby -o src/NotebookSizer.cpp swig/classes/NotebookSizer.i Exception `RuntimeError'' at c:/ruby/lib/ruby/gems/1.8/gems/rake-0.5.4/lib/rake.rb:485 - Command failed with
2007 Dec 27
4
build problems, part III, and runtime problems, part I
After decoding the unresolved symbols from wxruby2.so using c++filt, and comparing with the symbols provided by wxGTK, it became clear that wxGTK was using wchar_t whereas wxruby2.so was using char. So I rebuilt wxGTK, turning off unicode. That worked. No more unresolved symbols. What gives? Should the wxruby code have been built using wchar_t, and if so, how? However, now I get the
2004 Apr 24
1
wxruby-swig 0.0.7
I just pushed a new wxruby-swig, which includes the known MSWin rakefile changes. It also has some significant internal improvements that will make it easier to add classes, and it includes support for one new class (wxEvent). wxruby-swig is now licensed under the "MIT license". wxRuby will remain under the wxWindows license as long as we are releasing the old code base. When we
2004 Apr 29
10
wxruby-swig 0.0.12 is up
This one includes the latest App.cpp which includes the Mac fix from Nick. I thought it was in 0.0.11, but it wasn''t. It also adds support for "stock objects", like colours, pens, and fonts. This turned out to be quite challenging, but I''m happy with the solution. It only took a few days :-/ Kevin
2005 Aug 02
1
Latest tarball
The latest tarball won''t compile on Windows: src/Functions.cpp(582) : error C2664: ''wxLogWarning'' : cannot convert parameter 1 from ''const class wxWCharBuffer'' to ''const char *'' No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called src/Functions.cpp(592) : error
2006 Apr 23
2
wxTextCtr.h.patch
I think I had to do this to get the tarball to compile on Windows _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2005 Jul 26
10
Patch for wxRuby2
Ok so I made a lot of changes and the controls sample works pretty good now. What I changed or added: - Got all my modifications meshed into wxRuby2. - Added constructors to wxIcon.h - Changed Xrc.i to XmlResource.i and changed wxXrc to wxXmlResource within the file. I also had to change Xrc to XmlResource in rakewx.rb. - For backwards compatability with wxRuby 0.6 I added the subclass methods
2007 Feb 12
7
MSW segfaults II
Hi Think I tracked down why Windows suddenly went horrible crashy - the newest SWIG release generates slightly different code for object tracking, so our fixmodule.rb wasn''t picking up the broken line, so we got a nasty regression. Anyway, the patch (SVN:862) gives me a major improvement in stability Windows. Please could you let me know how SVN HEAD is working for you; if no major
2004 Aug 20
8
wxruby-swig: where does wxclasses-2.4.2.xml comes from?
Was trying to understand more about the internals of wxruby-swig, where does the big chunk of XML comes from? I saw something similiar in Python, is that massaged out of there? The codes produced by extractxml.rb and wxclasses-2.4.2.xml is quite different from the original header files. Just for example the WxDialog class. OnXXX are non-virtual in WxWidgets, but virtual in wxruby-swig
2005 Sep 18
3
Free
In the dialogs.rb sample, when you click the delete button you get: C:/RubyDev/wxruby2/samples/dialogs/dialogs.rb:61:in `onButton'': undefined method `free'' for #<Wxruby2::Button:0x36474b8> (NoMethodError) Should all/some wxObjects have a free function? how do we intend to handle this?
2007 Aug 23
7
TaskBarIcon gives Typerror
Hi, I''m working with wxruby since 2 days but next to this Wiki: http://wxruby.rubyforge.org/wiki/wiki.pl and this Doc: http://wxruby.rubyforge.org/doc/ I couldn''t find something usefull for it. Also del.icio.us has no intresting links. Do you know any good website or book about wxruby? My problem at the moment is, I wanna test the TaskBarIcon on Gnome and so I did:
2007 Mar 17
5
Fix for crash at exit
Hi This is a very small patch that seems to solve that "Exit the app and get a segfault in return" problem. Another thing: bigdemo.rb:395 does item = event.get_item() if item.is_ok but get_item typemaps TreeItemId into a plain integer, so it doesn''t have is_ok method anymore, is there any wxruby2''yish solution to this kind of problem ? A.K. In case