This is a known problem in RC2. Use a more recent version, either the nightly deb build, or build your own from scratch, alltogether.
Since you're a Linux user, you're building your own anyway (even when using RC2), so it won't make a huge difference to you.
Do something like:
apt-get wxGTK wxGTK-devel automake subversion (if not installed)
svn checkout svn://svn.berlios.de/codeblocks/trunk ; \
cd trunk && ./bootstrap ; ./configure ; make ; make install