For a long time I have been intending to try cross-compiling for Raspberry PI from Code::Blocks, and finally I gave it a go. It consist of a short write-up and a few bash scripts. It requires Ubuntu or Kubuntu on the PC, see:
https://github.com/arnholm/cross-piIt successfully cross-compiles wxWidgets GUI applications that run under Raspberry PI. I recommend using a dedicated virtual machine for this, in order to not conflict with other developer configurations.
Maybe this is of interest to some here.