]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/samples/frogedit/StatusBar.py
Add support for Metrowerks compilers.
[wxWidgets.git] / wxPython / samples / frogedit / StatusBar.py
index d8c45d452ee8bc181ec1fe4c8681c1e5e1a67290..c3025fcbdf3cf6e0edb374d114980b7c98b78165 100644 (file)
@@ -1,10 +1,9 @@
-from wxPython.wx import *
-
 import os.path
 import os.path
+import wx
 
 
-class CustomStatusBar(wxStatusBar):
+class CustomStatusBar(wx.StatusBar):
     def __init__(self, parent):
     def __init__(self, parent):
-        wxStatusBar.__init__(self, parent, -1)
+        wx.StatusBar.__init__(self, parent, -1)
         self.SetFieldsCount(3)
 
     def setFileName(self, fn):
         self.SetFieldsCount(3)
 
     def setFileName(self, fn):