[Wxruby-users] wxruby-swig problem: MDIChildFrame::Maximize
Kevin Smith
wxruby at qualitycode.com
Sat Sep 18 18:31:49 EDT 2004
I just grabbed the latest wxruby-swig from cvs and tried to compile it
(without enabling the SWIG step) on my gentoo Linux box. I get:
g++ -c -I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -O2 -march=athlon-xp -fPIC -I
/usr/lib/ruby/gems/1.8/gems/rake-0.4.8/bin -I
/usr/lib/ruby/gems/1.8/gems/rake-0.4.8/lib -I
/usr/lib/ruby/site_ruby/1.8 -I /usr/lib/ruby/site_ruby/1.8/i686-linux -I
/usr/lib/ruby/site_ruby -I /usr/lib/ruby/1.8 -I
/usr/lib/ruby/1.8/i686-linux -I . -o obj/MDIChildFrame.o
src/MDIChildFrame.cpp
src/MDIChildFrame.cpp: In function `VALUE
_wrap_wxMDIChildFrame_Maximize(int,
VALUE*, long unsigned int)':
src/MDIChildFrame.cpp:921: error: no matching function for call to `
wxMDIChildFrame::Maximize()'
/usr/include/wx/gtk/mdi.h:174: error: candidates are: virtual void
wxMDIChildFrame::Maximize(bool)
rake aborted!
It seems that under wxgtk 2.4.2, the wx declaration is Maximize(bool),
with a non-optional parameter. Under MSW or Mac is it an optional
parameter, or no parameter at all?
Kevin
More information about the wxruby-users
mailing list