News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

cvs error

Started by iplayfast, November 14, 2005, 02:28:23 AM

Previous topic - Next topic

iplayfast

There is an error under cvs, for which a fix is supplied here http://forums.next.codeblocks.org/index.php/topic,1292.0.html

My error (after getting past these) is that the buttons don't seem to be connected to anything. Has anyone recently done a clean checkout to be sure that things are compiling the way they expect?

takeshimiya

6 hours ago I did a clean checkout from CVS HEAD, in windows, without any problem or fix, and the toolbar is working as expected.

BTW, I used LF for the EOLs and everything seems to work as usual :)

takeshimiya

#2
OK, I noticed you're probably using another version of wxWidgets (2.6.2?), because I'm using 2.6.1 and didn't need any fix to get it working, but if I apply the suggested fix (cast to unsigned long) it gives the error:

cbprofilerexec.cpp:176: error: `class wxColour' used where a `long unsigned int' was expected

EDIT: Or something went wrong with your setup because there isn't any constructor of wxColour which accepts unsigned longs:

wxColour()
Default constructor.

wxColour(const unsigned char red, const unsigned char green, const unsigned char blue)
Constructs a colour from red, green and blue values.

wxColour(const wxString& colourNname)
Constructs a colour object using a colour name listed in wxTheColourDatabase.

wxColour(const wxColour& colour)
Copy constructor.


And wxListItem's SetTextColour() only accepts wxColours:

void SetTextColour(const wxColour& colText)
Sets the text colour for the item.