Subject: | Call to inexistent method SetInnerSize in Wx 0.9932 |
Date: | Wed, 10 May 2017 14:10:08 +0300 |
To: | bug-Wx [...] rt.cpan.org |
From: | Sakari Kapanen <sakari.m.kapanen [...] gmail.com> |
Hi,
I'm trying to build Wx 0.9932 against wxgtk 3.0.3 on Arch Linux. The
Perl version is:
This is perl 5, version 24, subversion 1 (v5.24.1) built for
x86_64-linux-thread-multi
The build fails with the following message:
Frames.c: In function ‘void
XS_Wx__PropertySheetDialog_SetInnerSize(PerlInterpreter*, CV*)’:
Frames.c:12881:13: error: ‘class wxPropertySheetDialog’ has no member
named ‘SetInnerSize’; did you mean ‘SetInnerSizer’?
THIS->SetInnerSize( sizer );
^~~~~~~~~~~~
make: *** [Makefile:450: Frames.o] Error 1
SetInnerSize was renamed to SetInnerSizer in this commit:
https://github.com/wxWidgets/wxWidgets/commit/6b335c8ca440a7adea8309c2272b53aaff59f526
So it seems they actually broke the API compatibility between 3.0.2 and
3.0.3. I don't know if this should be fixed by wxPerl or wxWidgets.
BR,
Sakari Kapanen