On Thursday, November 18, 2010 09:03:38 am Paul McNett wrote:
> 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


ForeColor works on XP windows
but does not work with my Linux???

I wonder if this has anything to do with wxPython.  I notice there is a new 
version of python-wxGTK on the openSUSE site.
python-wxGTK-2.8.11.0-27.1.i586.rpm

Which does not match what my install RPM file is named.  And the file was 
updated on 2010-11-18.  But I think they rebuild nightly.

Hmmmmmmm!  I think I'll reinstall all of it (include Dabo and see what 
happens).

Johnf



_______________________________________________
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