Double buffering with wxpython

后端 未结 1 1666
攒了一身酷
攒了一身酷 2021-02-14 16:32

I\'m working on an multiplatform application with wxpython and I had flickering problems on windows, while drawing on a Panel. I used to draw on a buffer (wx.Bitmap) during mous

相关标签:
1条回答
  • 2021-02-14 17:15

    There is a high probability that the SetDoubleBuffered actually makes your panel use a buffered dc automatically, the documentation doesn't mention that those classes are deprecated (and I rather think they would if that were the case).

    About wxPython in Action... 2006 was a long time ago... it is possible that the SetDoubleBuffered method didn't exist back then or that the author wanted to show how things work at the lower level.

    0 讨论(0)
提交回复
热议问题