Hello, apparently the wxWidget packages from debian are compiled only for work with Unicode versions, I really don't agree with this because I have a lot of code wrote that doesn't work with Unicode.
But the are another problem, I can show the problem with the "db" example from the debian package wx2.6-examples. If you go inside the directory "/usr/share/doc/wx2.6-examples/examples/samples/db" and try compile it you get the next errors:
db : make
g++ -c `wx-config --cxxflags` -o dbtest.o dbtest.cpp
dbtest.cpp:74:4: error: #error Sample cannot be compiled unless setup.h has wxUSE_ODBC set to 1
dbtest.cpp: In member function 'bool DbGridFrame::Initialize()':
dbtest.cpp:3339: error: 'wxDbGridColInfo' was not declared in this scope
dbtest.cpp:3339: error: 'cols' was not declared in this scope
dbtest.cpp:3340: error: expected type-specifier before 'wxDbGridColInfo'
dbtest.cpp:3340: error: expected `;' before 'wxDbGridColInfo'
dbtest.cpp:3398: error: 'wxDbGridTableBase' was not declared in this scope
dbtest.cpp:3398: error: 'db' was not declared in this scope
dbtest.cpp:3398: error: expected type-specifier before 'wxDbGridTableBase'
dbtest.cpp:3398: error: expected `;' before 'wxDbGridTableBase'
dbtest.cpp:3400: error: type '<type error>' argument given to 'delete', expected pointer
make: *** [dbtest.o] Error 1
Any Idea what happen here?