]> git.saurik.com Git - wxWidgets.git/commitdiff
wx needs imported for the error code
authorRobin Dunn <robin@alldunn.com>
Sat, 14 Aug 2004 00:27:21 +0000 (00:27 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 14 Aug 2004 00:27:21 +0000 (00:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/FloatCanvas.py

index aeec720a8bcf94ad821cec92ad938d32dd3c09ea..64ab683a823254032cf21cec94458f9500237609 100644 (file)
@@ -21,6 +21,7 @@ NOTE: The Numeric module is substantially faster than numarray for this
 purpose, if you have lot's of objects
 """
 
+    import wx
     def runTest(frame, nb, log):
         dlg = wx.MessageDialog(frame, errorText, 'Sorry', wx.OK |
                                wx.ICON_INFORMATION)