Hi, On 09/09/2012 18:37, Erik Colson wrote:
Now I needed to Mooseify ProgressDialog and it fails when using MooseX::NonMoose. However it does work with MooseX::NonMoose::InsideOut. Is there any reason for this class to be implemented in another way ?
There are very many classes in wxPerl that cannot be usefully sub-classed in the way one might normally sub-class a hash-ref based class.
This can be for a number of reasons ranging from 'not practically possible with current Wx implementation' to 'no obvious benefit'.
Wx::ProgressDialog I would guess fell under 'no obvious benefit' - especially at the time it was first wrapped.
As you can effectively use MooseX::NonMoose::InsideOut for Mooseification, I think Wx::ProgressDialog and the like are OK for now.
Regards Mark