Hello,
System: Ubuntu Feisty HERD 3 (test 3 of the upcoming Ubuntu 7.04, to released in April 2007)
Code::Blocks IDE: svn build rev 3566,  feb 4.
I created a simple wxWidgets 2.6 project using the wizard. 
When I compile the project, it says that: "No config found to match: wx-config  --version=2.6 --static=yes --unicode=no --debug=yes --cflags"
If I type the wx-config command on the command line, it reveals that some of the --flags are unknown.
$ 
wx-config  --version=2.6 --static=yes --unicode=no --debug=yes --cflags  Warning: No config found to match: /usr/bin/wx-config --version=2.6 --static=yes --unicode=no --debug=yes --cflags
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.
----------------
Wx-config does not know about these options:
 --static=yes --unicode=no --debug=yes  
But it accepts these arguments:
 --static=no  --unicode=yes  --debug=no
----------------
Wx-config's help page reports this:
$ wx-config  --help
 wx-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--release] [--version-full]
           [--list] [--host=HOST] [--toolkit=TOOLKIT] [--universal[=yes|no]]
           [--unicode[=yes|no]] [--debug[=yes|no]] [--static[=yes|no]]
           [--version[=VERSION]] [--basename] [--cc] [--cppflags] [--cflags]
           [--cxxflags] [--rezflags] [--libs] [--cxx] [--ld] [--linkdeps]
           [--utility=UTIL] [LIB ...] 
----------------
This Ubuntu installment has these package versions:
$ wx-config --version
2.6.3
$ apt-cache show libwxbase2.6-0
Version: 2.6.3.2.1.5ubuntu4
Replaces: libwxgtk2.6-0 (<< 2.6.3.2)
Depends: libc6 (>= 2.5-0ubuntu1), libexpat1 (>= 1.95.

, libgcc1 (>= 1:4.1.1-21ubuntu1), libstdc++6 (>= 4.1.1-21ubuntu1), zlib1g (>= 1:1.2.1)
Filename: pool/universe/w/wxwidgets2.6/libwxbase2.6-0_2.6.3.2.1.5ubuntu4_i386.deb
$ apt-cache show libwxgtk2.6-dev
Original-Maintainer: Ron Lee <ron --at-- debian.org>
Architecture: i386
Source: wxwidgets2.6
Version: 2.6.3.2.1.5ubuntu4
Depends: wx2.6-headers (= 2.6.3.2.1.5ubuntu4), libwxgtk2.6-0 (= 2.6.3.2.1.5ubuntu4), libwxbase2.6-dev (= 2.6.3.2.1.5ubuntu4), libc6-dev
Filename: pool/universe/w/wxwidgets2.6/libwxgtk2.6-dev_2.6.3.2.1.5ubuntu4_i386.debAttaxhed a screenshot.
A screenshot: 
http://www.futuredesktop.org/tmp/Screenshot-1.pngOf course, the project compiles succesfully if I remove the bad --arguments.