[wxPython-dev] 20061129 test build uploaded

roee shlomo roee88 at gmail.com
Fri Dec 1 01:55:32 PST 2006


Too confused about all the aui changes (why not stay compatible with 2.7?)
In a Frame:

> import wx.aui as AUI
> self._mgr =3D AUI.AuiManager()
> self._mgr.SetManagedWindow(self)
> ...
> self._mgr.Bind(AUI.AUI_BUTTON_CLOSE, self.doSomething)
> self._mgr.SetFlags(self._mgr.GetFlags() ^ AUI.AUI_MGR_TRANSPARENT_DRAG)
>


Traceback:

> self._mgr.Bind(AUI.AUI_BUTTON_CLOSE, self.doSomething)
>   File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py",
> line 3803, in Bind
>     event.Bind(self, id, id2, handler)
> AttributeError: 'int' object has no attribute 'Bind'
>
What am I doing wrong?


On 11/30/06, R'bot <rbot at wxpython.org> wrote:
>
> Hi,
>
> A new test build of wxPython has been uploaded.
>
>   Version: 2.8.0.0.20061129
>   URL:     http://wxPython.wxcommunity.com//preview/20061129
>   Changes: http://wxPython.wxcommunity.com//preview/20061129/CHANGES.html
>
> Have fun!
> R'bot
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-dev-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-dev-help at lists.wxwidgets.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-dev/attachments/20061201=
/d5e5f122/attachment.htm


More information about the wxpython-dev mailing list