This should be automatically fixed, and finally ODBC and UNICODE shouls work together. this might be fixed by patching wxGTK but not by me.
Created attachment 109823 [details] The build log This might help to understand what happened.
wxGTK-2.4 is being phased out, see Bug 145032. WONTFIX.
*** Bug 167267 has been marked as a duplicate of this bug. ***
ODBC support wasn't fully implemented in the 2.4 series. it was in 2.6 but the combination of unicode and unixODBC still doesn't work, though i may have a way to fix that soon.