Yes, I think
the OP should link "wxmsw28u" instead of "wxmsw28ud" to solve the problem.
By the way, I manually build the "wxmsw28ud" to debug into the wxWidgets source. I want to know how the function call stack, how the message routing,and so on. But in my computer, the wxmsw28ud_gcc_custom.dll file size is
92M(how does it become so large

,) and the wxmsw28u_gcc_custom.dll is only 9M.