Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 855f59f commit 58d4c2cCopy full SHA for 58d4c2c
examples/user_interfaces/embedding_in_wx2.py
@@ -60,11 +60,6 @@ def __init__(self):
60
self.Fit()
61
62
self.add_toolbar() # comment this out for no toolbar
63
- self.Bind(wx.EVT_PAINT, self.OnPaint)
64
-
65
- def OnPaint(self, event):
66
- self.canvas.draw()
67
- event.Skip()
68
69
def add_toolbar(self):
70
self.toolbar = NavigationToolbar2Wx(self.canvas)
@@ -92,10 +87,6 @@ def add_toolbar(self):
92
87
self.toolbar.update()
93
88
94
89
95
96
97
98
99
90
class App(wx.App):
100
91
101
def OnInit(self):
0 commit comments