I didn't know I was not suppose to "mix" them.. assuming Code::Blocks would use privilege one over the other. I tried removing the Global variable "wx" all together, and still cannot compile. Same error. If mixing both is an issue for code::blocks, the error should have said that.. (like "redefinition of variable" or whatever, but the problem does not lie on the fact that I had 'wx' defined in the global variables, as I just tried removing it).