AUI: Error in wxPython Demo

Mario Lacunza wrote:

Hi,

When I try to run the example in AUI_DockingWindowsMgr receipt this
error:

mario@laptop:~$
python /home/mario/Downloads/Python/wxPython/wxPython-2.7.2.0/demo/demo.py
Traceback (most recent call last):
  File "AUI_DockingWindowMgr.py", line 1109, in OnButton
    frame = PyAUIFrame(self, wx.ID_ANY, "wx.aui wxPython Demo",
size=(750, 590))
  File "AUI_DockingWindowMgr.py", line 266, in __init__
    self._mgr.AddPane(SettingsPanel(self, self), wx.aui.AuiPaneInfo().
  File "AUI_DockingWindowMgr.py", line 971, in __init__

self._border_size.SetValue(frame.GetDockArt().GetMetric(wx.aui.AUI_ART_PANE_BORDER_SIZE))
AttributeError: 'module' object has no attribute
'AUI_ART_PANE_BORDER_SIZE'

This has already been fixed in CVS. You can get a new version of the file from here:

http://cvs.wxwidgets.org/viewcvs.cgi/wxWidgets/wxPython/demo/AUI_DockingWindowMgr.py

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!