[ wxwindows-Bugs-1698857 ] RadioTool on a toolbar not quite right

SourceForge.net noreply at sourceforge.net
Wed Apr 11 17:24:29 PDT 2007


Bugs item #1698857, was opened at 2007-04-11 17:24
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1698857&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxMac specific
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Christopher Barker (chrishbarker)
Assigned to: Stefan Csomor (csomor)
Summary: RadioTool on a toolbar not quite right

Initial Comment:
I'm having trouble with the RadioTool on a toolbar on wxMac, woth wxPython

Mostly, it works: if I click to select a tool, it deselects all the others. However, if I click the already selected tool, it then deselects that one, so that none appear selected.

I could catch all the EVT_TOOLs, and then call ToggleTool to make sure it's toggled correctly, but that almost defeats the purpose of the RadioTool.

Note that I"m placing the tool with a Sizer on a Panel, which I think means it's a "generic" one, rather than a "native" one.

It seems to work the same way on 2.6.3 and 2.8.3 with Python2.4 and 2.5 on OS-X 10.4.9

Robin Dunn sees the same effect.

sample enclosed.

-Chris

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1698857&group_id=9863




More information about the wx-dev mailing list