draw an image in wx.BufferedDC onto the page created by AddPage of wx.Notebook

Simon Forman rogue_pedro at yahoo.com
Thu Aug 10 15:08:44 EDT 2006


zxo102 wrote:
> Hi everyone,
>    I have tried two days to figure out how to draw the image in
> wx.BufferedDC on the page created by AddPage of wx.Notebook but still
> got no clue.
>
>    The attached example works fine. If I click the menu "Draw" --> "New
> Drawing". The image with wx.BufferedDC/wx.BufferedPaintDC can move
> around on the frame. But If I uncomment those three commented lines in
> "class TestFrame" to add a new page (from wx.Notebook) with a tag and
> modify the last line like
>         self.Window = DrawWindow(form2)
> I can not see the image from wx.BufferedDC anywhere and don't know what
> is going on.
>
>  I need your help. Thanks a lot.
>

Have you tried http://wiki.wxpython.org/index.cgi/Asking_For_Help

Peace,
~Simon




More information about the Python-list mailing list