Re: Reloading a Bitmap

[email protected] (James Lynes)
Newsgroups perl.wxperl.users
Message-ID <CABPysegg5JaipN81PKxL_rnVcN4q-Vtb4RytASs0Bs44kqvoBA@mail.gmail.com>
Steve:

Thanks again.

I will try the SetBitmap method. Take a look at the wxStaticBitmap demo in
the wxDemo package. It appears to be broken. It does a ->SetBitmap followed
by a ->Refresh. The bitmap is not clearing(for me at least).

The [$x, $y] was what I was going to try to "maximize" the frame upon
opening.

James


On Wed, Jun 17, 2015 at 10:57 AM, Steve Cookson - gmail <
[email protected]> wrote:

> Hi James,
>
> On 13/06/15 15:42, James Lynes wrote:
>
>> In a script I am working on now, I need to do basically the same thing
>> except in this case the PNG will be changing and the bimaps wil need to
>> update also. How would i go about this?
>>
> I believe ->SetBitmap ($bitmap) will do the job.
>
> http://docs.wxwidgets.org/trunk/classwx_static_bitmap.html
>
>>
>> Also, how do you have the top frame open in full screen mode? I'm on
>> Ubuntu 14.04LTS. The wxMAXIMIZE option says it only works on WIndows.
>>
> I have disabled all these controls and I just use $size = [$x, $y] where x
> & y are the dimensions of the screen.
>
> Regards
>
> Steve
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.