PsYhLo, it should be the wxSmith template problem ,
try to change the line "new wxStatusBar(this,-1)" to
SetStatusBar(new wxStatusBar(this,-1));
Let me know if this solve your problem , I face this problem and solve it this way.
I shall update the template in the SVN then.