On 11/18/10 6:57 AM, John Fabiani wrote:
> On Wednesday, November 17, 2010 08:21:02 pm Paul McNett wrote:
>> Does your patch result in anything different from the default ForeColor
>> behavior? IOW, when I add 'self.ForeColor = "red"' to an unpatched
>> dCheckBox, I get a red forecolor.
>>
>
> Really - what platform?

Ubuntu 10.04, Python 2.6.5, wxPython 2.8.11 : works
Windows Vista, ditto, ditto : works
Mac 10.5, ditto, ditto : doesn't work

> I have just tested on LInux. I deleted the dCheckBox.py and used svn to
> restore and I still don't get the text color to change.  It works with my
> patch.  Is there something I'm missing???  Could I have an issue with a
> different file?  Where should I look?

Here's my patch:

Index: dCheckBox.py
===================================================================
--- dCheckBox.py        (revision 6174)
+++ dCheckBox.py        (working copy)
@@ -130,7 +130,9 @@
  class _dCheckBox_test(dCheckBox):
        def initProperties(self):
                self.Caption = _("Do you wish to pass?")
+               self.ForeColor = "red"

+
  if __name__ == "__main__":
        import test
        test.Test().runTest(_dCheckBox_test)



Paul

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to