Use Code::Blocks with wxWidgets

# yum install gcc-c++

# yum install wxGTK-devel.x86_64
# yum install codeblocks codeblocks-contrib
You will also get the GUI builder wxSmith.

# cd /usr/include
# ln -sv wx-2.8/wx wx
# Now run the default project it opens

If you get fatal error: wx/setup.h: No such file or directory, add the line:
`wx-config –cflags` in Settings -> Compiler and Debugger -> Compiler Settings tab -> Compiler Options.

Exit the codeblocks IDE and restart it. You will now be able to compile your program.