Hi Michael
I had understood what you wrote too, but it is not what is happening. If I set the Directories in Settings|Compiler with the paths where the include and lib files are and then leaving Directories in Projects|Build options cleared or set only with the global variable wx with the path where wxwidgets is installed, then when I define a new project , the project do not recognize the paths set in Settings|Compiler. In order to have it functioning correctly, it is needed to set the directories of Projects|Build Options with paths of include and lib files.
Other IDE's like C++ Builder and DEV-CPP function correctly. I think that behaviour would be a bug in Code Blocks.
Regards
Luiz Sergio