If you posted a problem description you might get help here.
Edit: compile it as Release, Debug is buggy in 2.2.2 .
Thanks for your reply. Finally I solved the compile problem by myself. At first, I followed the wiki to use the wxMSW-2.8.8, but it can not be correctly compiled in MinGW.Later, I used the official wxWidgets-2.8.7.tar.bz2 and compiled in MinGW with no problem.
"Windows port of wxWidgets library (knows as wxMSW) -> Download (2.8.
" <---I think this item on the wiki is a little misleading.You can just use the official wxWidgets.