[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

Re: [XaraXtreme-dev] Hello Xara!





--On 24 May 2007 19:33 -0400 JLM <jsado_sc5@xxxxxxxxxxxxx> wrote:

GetOSColour(&mTextBack, wxSYS_COLOUR_WINDOW);

to

GetOSColour(&mTextBack, wxSYS_COLOUR_BACKGROUND);

This may have been fixed in a newer version of wxWidgets, but with 2.6 the
problem was this didn't return the right colour. I spent rather a long time
making sure greys matched up on Ubuntu. It is indeed illogical in where it
gets the colours from (and, in particular, where the highlight, and
mouseover shades for the buttons come from), but it does work on all the
mainstream versions with normal themes, which it did not doing it the
"logical" way. If wxWidgets have fixed this, we probably need some
version dependent code, because the last thing we want to do is break
standard themes. The ones I checked were Ubuntu, Suse, and Fedora.

Alex