On Mon, Jun 1, 2009 at 10:45 AM, lostgallifreyan
<[email protected]> wrote:
>
>
> Thanks, that one's nice, no flicker of any kind. I'm having trouble
> integrating it into my main script but I'll post once I sort out the
> confusion. I guess there's no problem with two OnPaint() functions? So long
> as their names are different, one for the PANEL painting, one for the layer
> vector stuff..
>
Please don't send 2.5 Mb messages to the list. There has to be a
easier way to make it clear what your issues are.
First, wxWidgets does not officially support z-ordering of overlapping
windows. If it works great, if things don't, you know why.
Secondly, I don't really have time to try to decipher your code, I
barely have enough time for wxLua. What exactly is wrong? The method I
showed to draw your bitmap using the EVT_PAINT handler was flicker
free. Is that not what you want? I can also suggest trying to draw
your bitmap in the wxEVT_ERASE_BACKGROUND handler. Also, try calling
Refresh(false) to not clear the window first.
Hope this helps,
John
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users