Is there a control that works exactly like wxStaticBitmap() for large 
high-colour images when moved with Window:Move()?

I made a version of my script that uses a wxStaticBitmap() for the chart 
background which works well, but I'm told I should not use it for large images. 
I like it though, it doesn't need the OnPaint() redraw to keep it showing. That 
simplifies my code and also avoids flickering caused by a need to constantly 
redraw a background and an overlaid vector-drawn image at same time when moving 
the composite display window. It also allow methods to dramatically speed the 
vector draws because anything still showing in the client area will stay 
showing without flicker, and I can leave a full redraw till OnLeftUp, if it 
needs one.

All that is made possible with the way wxStaticBitmap() works. So if I 
shouldn't use it and have to make my own control to emulate its useful 
behaviour but for images thousands of pixels wide, what should I do? The 
wxWidgets manual doen't have any suggestions for this.


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to