As far as I can tell, if a checkbox is ever checked by the user, is it
forever reported as being checked, whether the user unchecks it or
not. Sample script below; try checking some boxes, and then
unchecking some. Anything that you check and later uncheck is
(programatically) reported to be checked regardless of the current
state of the checkbox.
Doesn't seem to be a problem on windows; have not checked Linux yet.
My build of wxwidgets/wxpython on OSX is 2.9.1.1 (osx-carbon-unicode).
Sample script below:
import wx
class TestPanel(wx.Panel):
def __init__(self, parent):
wx.Panel.__init__(self, parent, -1)
I don't have a Carbon build installed currently, but it's working fine for me with a 2.9.2.4 Cocoa build. If it's still not behaving correctly for you with a 2.9.2.4 Carbon build then please create a ticket for it at trac.wxwidgets.org.
···
On 11/20/11 12:13 PM, dhyams wrote:
As far as I can tell, if a checkbox is ever checked by the user, is it
forever reported as being checked, whether the user unchecks it or
not. Sample script below; try checking some boxes, and then
unchecking some. Anything that you check and later uncheck is
(programatically) reported to be checked regardless of the current
state of the checkbox.
Doesn't seem to be a problem on windows; have not checked Linux yet.
My build of wxwidgets/wxpython on OSX is 2.9.1.1 (osx-carbon-unicode).
On Nov 23, 1:22 pm, Robin Dunn <ro...@alldunn.com> wrote:
On 11/20/11 12:13 PM,dhyamswrote:
> As far as I can tell, if a checkbox is ever checked by the user, is it
> forever reported as being checked, whether the user unchecks it or
> not. Sample script below; try checking some boxes, and then
> unchecking some. Anything that you check and later uncheck is
> (programatically) reported to be checked regardless of the current
> state of the checkbox.
> Doesn't seem to be a problem on windows; have not checked Linux yet.
> My build of wxwidgets/wxpython on OSX is 2.9.1.1 (osx-carbon-unicode).
I don't have a Carbon build installed currently, but it's working fine
for me with a 2.9.2.4 Cocoa build. If it's still not behaving correctly
for you with a 2.9.2.4 Carbon build then please create a ticket for it
at trac.wxwidgets.org.
--
Robin Dunn
Software Craftsmanhttp://wxPython.org