X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34a544a635f3bac9320e6eb41aaaa5a5e8d1f5a4..c3be59bcdbc43ef1286cf5ea635d933bb802bd81:/wxPython/demo/Threads.py

diff --git a/wxPython/demo/Threads.py b/wxPython/demo/Threads.py
index 8e64bf8347..07910dc4d7 100644
--- a/wxPython/demo/Threads.py
+++ b/wxPython/demo/Threads.py
@@ -224,7 +224,7 @@ class TestPanel(wx.Panel):
 
 
     def OnButton(self, evt):
-        win = TestFrame(frame, log)
+        win = TestFrame(self, self.log)
         win.Show(True)