I upgraded to wx 2.8 on debian and now the header files are correctly parsed.

Now I have this problem:

* Missing C libraries: wx_baseu-2.8, wx_baseu_net-2.8, wx_baseu_xml-2.8,
wx_gtk2u_core-2.8, wx_gtk2u_adv-2.8, wx_gtk2u_html-2.8, wx_gtk2u_qa-2.8,
wx_gtk2u_xrc-2.8, wx_gtk2u_aui-2.8, wx_gtk2u_richtext-2.8
This problem can usually be solved by installing the system packages that
provide these libraries (you may need the "-dev" versions). If the libraries
are already installed but in a non-standard location then you can use the
flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are.
cabal: Error: some packages failed to install:
wxcore-0.12.1.6 failed during the configure step. The exception was:
ExitFailure 1

These libraries are present in /usr/lib and passing --extra-lib-dirs=/usr/lib doesn't help

zen:~# ls /usr/lib/libwx_baseu-2.
libwx_baseu-2.6.so.0      libwx_baseu-2.8.so        libwx_baseu-2.8.so.0.6.0
libwx_baseu-2.6.so.0.3.1  libwx_baseu-2.8.so.0     

Vivian