import_OpenGL_cube_and_cone.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:Python-GUI-Programming-Cookbook-Second-Edition 作者: PacktPublishing 项目源码 文件源码
def OnPaint(self, event):
        dc = wx.PaintDC(self)
        self.SetCurrent(self.context)       # <== this was missing when I wrote the book in 2015...
        if not self.init:
            self.InitGL()
            self.init = True
        self.OnDraw()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号