I guess the other platforms would have to try it ;-)
http://www.algonet.se/~afb/wx/codeblocks-wxauigtk.patch
But on Mac OS X (wxGTK), without it you instead get a:
/usr/bin/ld: Undefined symbols:
_gdk_window_get_pointer
We also have plugin linking problems on Mac OS X,
as you might have seen from the forums/bug reports.
(i.e. we need to add all the wxWidgets libraries too,
in order to be able to link the Code::Blocks plugins)
http://www.algonet.se/~afb/wx/codeblocks-rev3146_pluginslib.patch
So those patches "work" for Mac OS X, but I would be
very happy to work towards a solution for all platforms...