]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/samples/ide/activegrid/tool/XmlEditor.py
fixed improper (long) casts
[wxWidgets.git] / wxPython / samples / ide / activegrid / tool / XmlEditor.py
index d2e2080814b0c70c423a350a0d6b7ec0a5ce3fc1..0c27e51f1563ee2f5d4bf1c799084cb52a5c4233 100644 (file)
@@ -63,8 +63,8 @@ class XmlService(CodeEditor.CodeService):
 class XmlCtrl(CodeEditor.CodeCtrl):
 
 
-    def __init__(self, parent, ID = -1, style = wx.NO_FULL_REPAINT_ON_RESIZE):
-        CodeEditor.CodeCtrl.__init__(self, parent, ID, style)
+    def __init__(self, parent, id=-1, style=wx.NO_FULL_REPAINT_ON_RESIZE):
+        CodeEditor.CodeCtrl.__init__(self, parent, id, style)
         self.SetLexer(wx.stc.STC_LEX_XML)
         self.SetProperty("fold.html", "1")