Hi! I'd suggest two things you may try: 1. Use wxPaintDC instead of wxClientDC. Write you own "canvas" by deriving it from wxPanel and set a Paint() method for it that draws on a wxPaintDC. 2. Use a wxStaticBitmap and change it's size. I wrote a small tool to generate HTML galeries and used this method for setting the size of the thumbnails. I used a slider, too and it works.
upCASE ----------------------------------- If it was hard to write, it should be hard to read!- Do. Or do not. There is no try! |