def onPaintGL( self, event ):
dc = wx.PaintDC( self.glArea )
self.glArea.SetCurrent(self.glContext)
self.plot.fft_on = self.cbfftw.GetValue()
if self.plot_reshape:
apply(self.plot.reshape, self.plot_reshape)
self.plot_reshape = False
self.plot.display()
self.glArea.SwapBuffers()
评论列表
文章目录