[wxPython-users] toolbars on OS-X with wxPython2.8

Christopher Barker Chris.Barker at noaa.gov
Mon Feb 26 17:13:19 PST 2007


Robin Dunn wrote:
>> The "ZoomButton" never gets rendered. Is there something I should be =

>> doing differently?
> =

> No, I would expect that to work.  Please enter a bug report about it.

OK, after much delay, I've looked into this more. I now have a small =

demo that shows the problem. If you use a toolbar managed by the Frame, =

it works fine. If you use a toolbar created with wx.ToolBar(), and =

manage it yourself, you can't put a button on it.

The enclosed code has two toolbars, created with Exactly the same code. =

One managed by the frame, one not.

This works fine with 2.6.3 on OS-X and Windows, by the way. It fails =

with 2.8.1.1 on OS-X (with python2.5)

I'll file a big report,

-Chris





-- =

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ToolBarSimple.py
Type: text/x-python
Size: 7308 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20070=
226/397d2f4f/ToolBarSimple.py


More information about the wxpython-users mailing list