From f96012e7da821a35d5bb4fd248de08a5f5050891 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 14 Aug 2004 00:27:21 +0000 Subject: [PATCH] wx needs imported for the error code git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/FloatCanvas.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wxPython/demo/FloatCanvas.py b/wxPython/demo/FloatCanvas.py index aeec720a8b..64ab683a82 100644 --- a/wxPython/demo/FloatCanvas.py +++ b/wxPython/demo/FloatCanvas.py @@ -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)