From 3b9de29c38f488bd1f85e4b451ab859182319cd8 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 11 Jun 2003 21:18:44 +0000 Subject: [PATCH] Clearly state that the new wx module is being used git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/About.py | 2 +- wxPython/demo/Main.py | 3 ++- wxPython/demo/NewNamespace.py | 2 +- wxPython/demo/demoMainLoop.py | 2 +- wxPython/demo/run.py | 2 +- wxPython/demo/simple.py | 2 +- wxPython/demo/template.py | 2 +- wxPython/samples/doodle/doodle.py | 2 +- wxPython/samples/doodle/superdoodle.py | 4 ++-- 9 files changed, 11 insertions(+), 10 deletions(-) diff --git a/wxPython/demo/About.py b/wxPython/demo/About.py index e9bec3f3cb..43ac255556 100644 --- a/wxPython/demo/About.py +++ b/wxPython/demo/About.py @@ -1,6 +1,6 @@ import sys -import wx +import wx # This module uses the new wx namespace import wx.html import wx.lib.wxpTag diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py index abaad21abb..336d7af3a0 100644 --- a/wxPython/demo/Main.py +++ b/wxPython/demo/Main.py @@ -12,7 +12,8 @@ #---------------------------------------------------------------------------- import sys, os, time -import wx + +import wx # This module uses the new wx namespace import wx.html import images diff --git a/wxPython/demo/NewNamespace.py b/wxPython/demo/NewNamespace.py index 07ebc8e50e..97b04d190c 100644 --- a/wxPython/demo/NewNamespace.py +++ b/wxPython/demo/NewNamespace.py @@ -1,5 +1,5 @@ -import wx +import wx # This module uses the new wx namespace from wx import html from Main import opj diff --git a/wxPython/demo/demoMainLoop.py b/wxPython/demo/demoMainLoop.py index 9d707a6978..73146d1d7d 100755 --- a/wxPython/demo/demoMainLoop.py +++ b/wxPython/demo/demoMainLoop.py @@ -9,7 +9,7 @@ in Python. This is not part of the demo framework. """ -import wx +import wx # This module uses the new wx namespace import time diff --git a/wxPython/demo/run.py b/wxPython/demo/run.py index 912fb4edbc..7b83f581fa 100755 --- a/wxPython/demo/run.py +++ b/wxPython/demo/run.py @@ -17,9 +17,9 @@ directory within its own frame window. Just specify the module name on the command line. """ +import wx # This module uses the new wx namespace import sys, os -import wx #---------------------------------------------------------------------------- diff --git a/wxPython/demo/simple.py b/wxPython/demo/simple.py index 169313ce30..07a750c639 100644 --- a/wxPython/demo/simple.py +++ b/wxPython/demo/simple.py @@ -5,7 +5,7 @@ # structure of any wxPython application. #---------------------------------------------------------------------- -import wx +import wx # This module uses the new wx namespace class MyFrame(wx.Frame): """ diff --git a/wxPython/demo/template.py b/wxPython/demo/template.py index 86e70c1279..8be058bfee 100644 --- a/wxPython/demo/template.py +++ b/wxPython/demo/template.py @@ -1,5 +1,5 @@ -import wx +import wx # This module uses the new wx namespace #---------------------------------------------------------------------- diff --git a/wxPython/samples/doodle/doodle.py b/wxPython/samples/doodle/doodle.py index e31c138559..15e4de19a6 100644 --- a/wxPython/samples/doodle/doodle.py +++ b/wxPython/samples/doodle/doodle.py @@ -6,7 +6,7 @@ can do simple drawings upon. """ -import wx +import wx # This module uses the new wx namespace #---------------------------------------------------------------------- diff --git a/wxPython/samples/doodle/superdoodle.py b/wxPython/samples/doodle/superdoodle.py index 6ab322cae3..9816691107 100644 --- a/wxPython/samples/doodle/superdoodle.py +++ b/wxPython/samples/doodle/superdoodle.py @@ -10,9 +10,9 @@ menu that DoodleWindow provides. There is also a nice About dialog implmented using an wx.html.HtmlWindow. """ -import wx +import wx # This module uses the new wx namespace import wx.html -from wx.lib import buttons # for generic button classes +from wx.lib import buttons # for generic button classes from doodle import DoodleWindow import os, cPickle