X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/33b7017158309d0ffba37843f99bd7e53265dbc0..b4eecebd423df0c6efe86d7658cd3df818d67ed8:/wxPython/demo/XmlResourceHandler.py diff --git a/wxPython/demo/XmlResourceHandler.py b/wxPython/demo/XmlResourceHandler.py index 201d06d850..15770de475 100644 --- a/wxPython/demo/XmlResourceHandler.py +++ b/wxPython/demo/XmlResourceHandler.py @@ -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):