I notice that when I create a new wxWidgets project, C::B puts a ';' after
IMPLEMENT_APP(myWidgetsApp)
None of the wxWidgets sample C++ programs have a semicolon terminating that line. It doesn't seem to cause a problem when building a project in C::B, but when I build my project in a console I get an error, e.g.:
wbanditApp.cc:17: error: extra ‘;’
make: *** [obj/wbanditApp.o] Error 1
which goes away if I delete that ';'.
Do you guys know anything about this? Why does the C::B wxWidgets sample have that extra ';'?