]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/XmlResourceHandler.py
Allow clearing the history, and saving the history on demand
[wxWidgets.git] / wxPython / demo / XmlResourceHandler.py
index 201d06d85096d65eb1ddbbcfd99553d313124e76..15770de475fe29612775675047092e895e118bd8 100644 (file)
@@ -71,11 +71,11 @@ class MyCustomPanelXmlHandler(xrc.XmlResourceHandler):
     def __init__(self):
         xrc.XmlResourceHandler.__init__(self)
         # Specify the styles recognized by objects of this type
-        self.AddStyle("wxNO_3D", wx.NO_3D);
-        self.AddStyle("wxTAB_TRAVERSAL", wx.TAB_TRAVERSAL);
-        self.AddStyle("wxWS_EX_VALIDATE_RECURSIVELY", wx.WS_EX_VALIDATE_RECURSIVELY);
-        self.AddStyle("wxCLIP_CHILDREN", wx.CLIP_CHILDREN);
-        self.AddWindowStyles();
+        self.AddStyle("wxNO_3D", wx.NO_3D)
+        self.AddStyle("wxTAB_TRAVERSAL", wx.TAB_TRAVERSAL)
+        self.AddStyle("wxWS_EX_VALIDATE_RECURSIVELY", wx.WS_EX_VALIDATE_RECURSIVELY)
+        self.AddStyle("wxCLIP_CHILDREN", wx.CLIP_CHILDREN)
+        self.AddWindowStyles()
 
     # This method and the next one are required for XmlResourceHandlers
     def CanHandle(self, node):