[MacPorts] #35792: py27-wxpython-devel @2.9.4.0_0 RadioButton wx.RB_GROUP not working
#35792: py27-wxpython-devel @2.9.4.0_0 RadioButton wx.RB_GROUP not working -------------------------------+-------------------------------------------- Reporter: yanokwa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: py27-wxpython-devel, wxWidgets-devel -------------------------------+-------------------------------------------- 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? -- Ticket URL: <https://trac.macports.org/ticket/35792> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35792: py27-wxpython-devel @2.9.4.0_0 RadioButton wx.RB_GROUP not working -------------------------------+-------------------------------------------- Reporter: yanokwa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: py27-wxpython-devel, wxWidgets-devel -------------------------------+-------------------------------------------- Comment(by yanokwa@…): See http://trac.wxwidgets.org/ticket/14605 for related wxPython ticket. -- Ticket URL: <https://trac.macports.org/ticket/35792#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35792: py27-wxpython-devel @2.9.4.0_0 RadioButton wx.RB_GROUP not working ---------------------------------------------------+------------------- Reporter: yanokwa@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py27-wxpython-devel, wxWidgets-devel | ---------------------------------------------------+------------------- Changes (by jmr@…): * owner: macports-tickets@… => jwa@… -- Ticket URL: <https://trac.macports.org/ticket/35792#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35792: py27-wxpython-3.0 @2.9.4.0_0 RadioButton wx.RB_GROUP not working -----------------------------------------------+--------------------- Reporter: yanokwa@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py27-wxpython-3.0, wxWidgets-3.0 | -----------------------------------------------+--------------------- Changes (by mojca@…): * owner: jwa@… => mojca@… * version: 2.1.2 => * port: py27-wxpython-devel, wxWidgets-devel => py27-wxpython-3.0, wxWidgets-3.0 -- Ticket URL: <https://trac.macports.org/ticket/35792#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts