Hi Octavian, What a great workaround, I've never seen it before!
It looks like a substitute for an un-wrapped constant. I've just looked in Constant.xs and it looks as if it has been wrapped since 2.9.0. So if you are using >=2.9.0 you should be OK. If not and you're using <2.9.0, you'll still need it. I hope that's the answer you're looking for. Regards Steve On 23 December 2012 at 09:54 Octavian Rasnita <orasn...@gmail.com> wrote: > Hi, > > A long time ago I have been told that I need to use the following > subroutine, but I don't remember why. :-) > > sub wxTEXT_ATTR_EFFECT_SUBSCRIPT () { 0x00000200 } > > I guess that it was a hack to support some missing features of WxPerl or > something like that. > > Do you know if it is still necessary these days? > > --Octavian >