Author Topic: wxwidgets extra ';'  (Read 1879 times)

Offline r.stiltskin

  • Multiple posting newcomer
  • *
  • Posts: 48
wxwidgets extra ';'
« on: January 16, 2010, 01:12:02 am »
I notice that when I create a new wxWidgets project, C::B puts a ';' after
Code: [Select]
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.:
Quote
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 ';'?