Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

cvs error

(1/1)

iplayfast:
There is an error under cvs, for which a fix is supplied here http://forums.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:
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:


--- Code: ---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.
--- End code ---

And wxListItem's SetTextColour() only accepts wxColours:


--- Code: ---void SetTextColour(const wxColour& colText)
Sets the text colour for the item.
--- End code ---

Navigation

[0] Message Index

Go to full version