]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/samples/ide/activegrid/util/xmlprettyprinter.py
Add code to remove the selection (if any) in wxTextCtrl::WriteText for multi-line...
[wxWidgets.git] / wxPython / samples / ide / activegrid / util / xmlprettyprinter.py
index 97d74130cd837ef10293559fb929d31065b6c6a1..4290c71693a1129ca0ffbfe257bf9af109cc25d9 100644 (file)
@@ -9,8 +9,10 @@
 # Copyright:    (c) 2004-2005 ActiveGrid, Inc.
 # License:      wxWindows License
 #----------------------------------------------------------------------------
-import xml.sax
 from activegrid.util.lang import *
+ifDefPy()
+import xml.sax
+endIfDef()
 
 class XMLPrettyPrinter(xml.sax.ContentHandler):
     def __init__(self, indentationChar='    ', newlineChar='\n'):