Code::Blocks IDE: wxWidgets library and application mismatch?

I got this warning popped out on terminal, and the application performed wrong commands sometimes, I had to click twice to get them right.
Please, help me!