wxPython and Video Capture

Hi
         I have tried capturing images from usb webcam using VideoCapture module (http://videocapture.sourceforge.net/). After capture image, I would like to embed it into wxPython. I have tried wx static bitmab but I got flicker screen.
       Are there any method to anti- fickler?
Thank
chatchai

···

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee� Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

Chatchai Nanudorn wrote:

Hi
        I have tried capturing images from usb webcam using VideoCapture module (http://videocapture.sourceforge.net/). After capture image, I would like to embed it into wxPython. I have tried wx static bitmab but I got flicker screen.
      Are there any method to anti- fickler?

Don't use a wx.StaticBitmap. Instead create a window class that has a handler for EVT_PAINT and draw the bitmaps yourself in that handler as you receive them. You'll probably also want to catch the EVT_ERASE_BACKGROUND event and do nothing in its handler.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!