Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Contributions to C::B => Topic started by: ouch on September 26, 2013, 12:59:39 am

Title: "Start here" page background defaults to black again?
Post by: ouch on September 26, 2013, 12:59:39 am
I recall this happened before and it was actually a bug so I am reporting it here just in case it is again.

Running on win 7 64bit, codeblocks svn 8367, wxWidgets 2.8 svn 74860, compiled with tdm mingw 4.7.1.
Title: Re: "Start here" page background defaults to black again?
Post by: ollydbg on September 26, 2013, 01:56:01 am
As I know, the background color can be customized now, see this commit:
Code
Revision: 9361
Author: mortenmacfly
Date: 2013-9-20 18:12:59
Message:
* applied patch #3426: Allow modify "start here page" background colour
-------------------------------
M(T ) : /trunk/src/src/startherepage.cpp

Title: Re: "Start here" page background defaults to black again?
Post by: ollydbg on September 29, 2013, 09:52:59 am
Hi, I just see the same issue, I get the start page's background color as blue, previously the background color is white.
I just check my WinXP color setting, see the image below:
(http://i.imgur.com/h1ICSvY.png)
Now, C::B has set the blue color as the start page's (default) background, I think that was not correct. In my XP, when you open any browser to view a html, the background color is white, When you open a windows explorer, the background is also white.

So, is it possible to set the default start page's background to white? Or the background color of the "Window Text" in the above screen shot. Thanks.

EDIT: the suggest color is: wxSYS_COLOUR_WINDOW    
which means: Window background, see http://docs.wxwidgets.org/2.8/wx_wxsystemsettings.html

EDIT2:
The font color should set default to wxSYS_COLOUR_WINDOWTEXT (Text in windows), I can't find the default color for the link text. ;)
Title: Re: "Start here" page background defaults to black again?
Post by: oBFusCATed on September 29, 2013, 11:52:38 am
Both issues should have been fixed in trunk.
Title: Re: "Start here" page background defaults to black again?
Post by: ollydbg on September 29, 2013, 12:06:00 pm
Both issues should have been fixed in trunk.
I see the two commits, thanks!
Title: Re: "Start here" page background defaults to black again?
Post by: ouch on October 02, 2013, 12:52:58 am
Yep that fixed it for me too. I also checked the background color setting and that works as well.