X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/102e2b26c00f2361df4f57b834be26cd04a27240..b843b628c9f936d6a87ca1e9b91e88a4604270c4:/wxPython/demo/XmlResourceHandler.py?ds=sidebyside diff --git a/wxPython/demo/XmlResourceHandler.py b/wxPython/demo/XmlResourceHandler.py index 1ef824759b..201d06d850 100644 --- a/wxPython/demo/XmlResourceHandler.py +++ b/wxPython/demo/XmlResourceHandler.py @@ -71,10 +71,10 @@ class MyCustomPanelXmlHandler(xrc.XmlResourceHandler): def __init__(self): xrc.XmlResourceHandler.__init__(self) # Specify the styles recognized by objects of this type - self.AddStyle("wx.NO_3D", wx.NO_3D); - self.AddStyle("wx.TAB_TRAVERSAL", wx.TAB_TRAVERSAL); - self.AddStyle("wx.WS_EX_VALIDATE_RECURSIVELY", wx.WS_EX_VALIDATE_RECURSIVELY); - self.AddStyle("wx.CLIP_CHILDREN", wx.CLIP_CHILDREN); + 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