]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/samples/ide/activegrid/tool/PerlEditor.py
Docview and IDE patch from Morag Hua with fix for bug #1217890
[wxWidgets.git] / wxPython / samples / ide / activegrid / tool / PerlEditor.py
index 8c31a322dd440f1f9cc71ed568fe4276c6003268..aaab62a206e470263eefce05fe0aa29c9df2869b 100644 (file)
@@ -62,8 +62,8 @@ class PerlService(CodeEditor.CodeService):
 class PerlCtrl(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_PERL)
         self.SetKeyWords(0, string.join(PERLKEYWORDS))