Hi,

I'll be doing a Wx 0.9901 release later today - but the only relevant 
change is bumping the ExtUtils::XSpp dependency to 0.1602.

Wx 0.99 if built with ExtUtils::XSpp 0.1602 will work fine in respect of 
Wx::Button::GetDefaultSize.

You could just put a Wx::Button::GetDefaultSize check in tests and 
output appropriate message on failure?

This failure should only occur with Wx 0.99 built using ExtUtils::XSpp 
0.1601. As Wx 0.99 requires an ExtUtils::XSpp upgrade anyway and version 
0.1602 is already on CPAN, I imagine users outside the direct Padre / Wx 
development community may not actually encounter this error.

PPM users will though ( ughh ).

Regards

Mark


On 06/06/2011 03:08, Ahmad Zawawi wrote:
> The Wx locker bug workaround is already in trunk but unfortunately
> Padre is not stable until the Wx::Button::GetDefaultSize workaround or
> a Wx fix is available.
>
> On Sun, Jun 5, 2011 at 1:44 PM, Peter Lavender<pla...@internode.on.net>  
> wrote:
>>
>> Thanks Mark.
>>
>> So I wonder, with this bug indentified, and the Wx Locker discussion on 
>> going, are we really ready for a Padre release?
>>
>>
>> Hi,
>>
>> It's a Wx 0.99 bug.
>>
>> The fix isn't trivial ( for me at least  ) and I won't have the
>> opportunity to start figuring it out for a couple of days.
>>
>> The only possible hacky workaround would be something like
>>
>> .....
>>
>> my $size;
>> eval {
>>     $size = Wx::Button::GetDefaultSize();
>> };
>> if($@) {
>>     my $tempbutton = Wx::Button->new($dialog, -1, 'temp');
>>     $size = $tempbutton->GetDefaultSize();
>>     $tempbutton->Destroy;
>> }
>>
>> .....
>>
>> but I'm not 100% sure if the $tempbutton->Destroy will work as expected.
>>
>> You would also probably want to restructure a little so that you only
>> query the default size once.
>>
>>    Wx 0.9901 sometime soonish.
>>
>>
>> Mark
>>
>>
>>
>> On 03/06/2011 12:06, Peter Lavender wrote:
>>> Hi everyone,
>>>
>>> I won't branch Padre yet, this is what happens when you Click on
>>>
>>> File->New->Perl Distribution&  Perl Distribution (New)
>>>
>>>
>>>
>>>
>>> Usage: Wx::Button::GetDefaultSize(THIS) at
>>> /home/pete/Programming/Perl/Padre/trunk/Padre/lib/Padre/Wx/Dialog.pm
>>> line 461.
>>> Perl exited with active threads:
>>> 3 running and unjoined
>>> 0 finished and unjoined
>>> 0 running and detached
>>>
>>>
>>>
>>> Thanks to bowtie for pointing this out..
>>>
>>> It's either comment them out of the menu for the next release or fix it.
>>>
>>> :)
>>>
>>> Peter.
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Padre-dev mailing list
>>> Padre-dev@perlide.org
>>> http://mail.perlide.org/mailman/listinfo/padre-dev
>>
>> _______________________________________________
>> Padre-dev mailing list
>> Padre-dev@perlide.org
>> http://mail.perlide.org/mailman/listinfo/padre-dev
>>
>>
>> _______________________________________________
>> Padre-dev mailing list
>> Padre-dev@perlide.org
>> http://mail.perlide.org/mailman/listinfo/padre-dev
>>
> _______________________________________________
> Padre-dev mailing list
> Padre-dev@perlide.org
> http://mail.perlide.org/mailman/listinfo/padre-dev

_______________________________________________
Padre-dev mailing list
Padre-dev@perlide.org
http://mail.perlide.org/mailman/listinfo/padre-dev

Reply via email to