[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fwd: Re: [Wxruby-dev] Windows Build]
From: |
Kevin Smith |
Subject: |
[Fwd: Re: [Wxruby-dev] Windows Build] |
Date: |
10 Jul 2003 08:18:07 -0700 |
Park Heesob sent this to me. I figured I would forward it to the group
in case anyone tries a Windows compile before I'm able to incorporate
his changes.
The second change looks like it might fix the "warning: tried to create
Proc object without a block" errors that John Platte was reporting under
OS X, too.
Kevin
-----Forwarded Message-----
From: ¹ÃÃñ¼· <address@hidden>
To: address@hidden
Subject: Re: [Wxruby-dev] Windows Build
Date: 10 Jul 2003 16:22:43 +0900
Hi,
I have managed to build and it works good on Windows 2000(wxWindows 2.4.1).
I modified following three files.
Hope this helps,
Park Heesob
event.cpp
@@ -1283,4 +1283,5 @@ WxIdleEvent::RequestMore(VALUE self)
Data_Get_Struct(self, wxIdleEvent, ptr);
ptr->RequestMore(TRUE);
+ return Qnil;
}
evthandler.cpp
@@ -447,5 +447,5 @@ WxEvtHandler::Connect(VALUE rubyClass,VA
int lastId = NUM2INT(rubyLastId);
wxEventType eventType = rubyType;
- VALUE func = rb_funcall(rubyClass, rb_intern("proc"), 0);
+ VALUE func = rubyBlock;
extconf.rb
@@ -41,5 +41,5 @@ elsif /powerpc-darwin/ =~ RUBY_PLATFORM
elsif have_header("windows.h") and have_library("kernel32")
$WXDIR=ENV['WXWIN']
- $WXVERSION = '241'
+ $WXVERSION = '24'
$WXSRC="#$WXDIR/src/msw"
$WXINC="#$WXDIR/include"
- [Fwd: Re: [Wxruby-dev] Windows Build],
Kevin Smith <=