Skip to content

Commit 8c5904a

Browse files
committed
Fix typo in wxpython.py example
1 parent b438b3e commit 8c5904a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/wxpython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,11 +212,11 @@ def OnInit(self):
212212
def initialize(self):
213213
if self.is_initialized:
214214
return
215+
self.is_initialized = True
215216
self.create_timer()
216217
frame = MainFrame()
217218
self.SetTopWindow(frame)
218219
frame.Show()
219-
self.initialized = True
220220

221221
def create_timer(self):
222222
# See also "Making a render loop":

0 commit comments

Comments
 (0)