Opened 12 years ago
Closed 8 years ago
#35792 closed defect (wontfix)
py27-wxpython-3.0 @2.9.4.0_0 RadioButton wx.RB_GROUP not working
Reported by: | yanokwa@… | Owned by: | jyrkiwahlstedt |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | mojca (Mojca Miklavec) | |
Port: | py27-wxpython-3.0, wxWidgets-3.0 |
Description
In wxPython, when you add a wx.RB_GROUP style to a RadioButton to create a radio button grouping. The code for this looks like this:
# this is one group self.rb1 = wx.RadioButton(pnl, label='Value A', pos=(10, 10), style=wx.RB_GROUP) self.rb2 = wx.RadioButton(pnl, label='Value B', pos=(10, 40)) self.rb3 = wx.RadioButton(pnl, label='Value C', pos=(10, 70)) # this should be another group self.rb4 = wx.RadioButton(pnl, label='Value 1', pos=(10, 100), style=wx.RB_GROUP) self.rb5 = wx.RadioButton(pnl, label='Value 2', pos=(10, 130))
This code (see Example.py) works great on my Windows install (see Windows.png). If I select something from the A/B/C group, that selection does not affect something from the 1/2 group. This same code fails on my Mac (see Mac.png). A/B/C/1/2 are considered part of the same group.
The versions of Python I'm running is listed below. I've also attached the list of installed ports (see Installed-Ports.txt).
Windows 7 Ultimate SP 1
python-2.7.3.amd64.msi wxPython2.8-win64-unicode-2.8.12.1-py27.exe
Mac OS 10.8
python27 @2.7.3_0 (active) platform='darwin 12' archs='x86_64' py27-wxpython-devel @2.9.4.0_0 (active) platform='darwin 12' archs='x86_64' wxWidgets-devel @2.9.4_0+sdl (active) platform='darwin 12' archs='x86_64'
Any ideas what's going on?
Attachments (4)
Change History (9)
Changed 12 years ago by yanokwa@…
Attachment: | Example.py added |
---|
Changed 12 years ago by yanokwa@…
Attachment: | Windows.png added |
---|
Changed 12 years ago by yanokwa@…
Changed 12 years ago by yanokwa@…
Attachment: | Installed-Ports.txt added |
---|
comment:1 Changed 12 years ago by yanokwa@…
comment:2 Changed 12 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to jwa@… |
---|
comment:3 Changed 11 years ago by mojca (Mojca Miklavec)
Owner: | changed from jwa@… to mojca@… |
---|---|
Port: | py27-wxpython-3.0 wxWidgets-3.0 added; py27-wxpython-devel wxWidgets-devel removed |
Summary: | py27-wxpython-devel @2.9.4.0_0 RadioButton wx.RB_GROUP not working → py27-wxpython-3.0 @2.9.4.0_0 RadioButton wx.RB_GROUP not working |
Version: | 2.1.2 |
comment:4 Changed 8 years ago by mojca (Mojca Miklavec)
Cc: | mojca@… added |
---|---|
Owner: | changed from mojca@… to jwa@… |
comment:5 Changed 8 years ago by mojca (Mojca Miklavec)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Whoever needs this bug to be fixed ... please push the upstream. They haven't looked into the problem for 4 years:
I'm closing this ticket as "UPSTREAM ISSUE" where there's nothing we can do unless the upstream developers fix the problem and it's not looking too optimistic.
See http://trac.wxwidgets.org/ticket/14605 for related wxPython ticket.