X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dfef5d5165735ab6c9e1b0bd9c4ece1b6f848f26..2fb0cabbf9e924c25d51b13bf7aa1ba8aa24e75e:/wxPython/demo/ColorPanel.py?ds=sidebyside

diff --git a/wxPython/demo/ColorPanel.py b/wxPython/demo/ColorPanel.py
index f7dc76ba0b..a5b6a91cc7 100644
--- a/wxPython/demo/ColorPanel.py
+++ b/wxPython/demo/ColorPanel.py
@@ -1,12 +1,17 @@
+#
+# Note: this module is not a demo per se, but is used by many of 
+# the demo modules for various purposes.
+#
 
-from wxPython.wx import *
+import wx
 
 #---------------------------------------------------------------------------
 
 
-class ColoredPanel(wxWindow):
+class ColoredPanel(wx.Window):
     def __init__(self, parent, color):
-        wxWindow.__init__(self, parent, -1, style = wxSIMPLE_BORDER) #wxRAISED_BORDER)
+        wx.Window.__init__(self, parent, -1, style = wx.SIMPLE_BORDER)
         self.SetBackgroundColour(color)
 
 #---------------------------------------------------------------------------
+