Hi!
C::B 8.02, wxWidgets-2.8.8, mingw-3.4.5
Creating frame based app. When adding wxListCtrl to main wxFrame all is good.
But then put wxListCtrl to additional wxFrame - have compiler errors:
ISO C++ forbids declaration of `wxListCtrl' with no type
expected `;' before '*' token
in XRC-mode the same problem...
what is wrong? how to fix?
thanx!
could anybody confirm problem?
Hi,
I'm no expert in all this, but to me it looks like you will have to make wxListCtlr known to the compiler and linker first. Usually you use a forward declaration of the type class wxListCtrl; or you put in the appropriate header with an #include directive. Also check if before the line which gives you the error there are all the ; correctly set ...
Regards
nausea
Hi, nausea
There is no my code.
It is just all C::B and wxSmith are generated.
I explained(?) how to replay it.
uh... c++(especially gcc) tired me again...
going to learn Python ;)
That's probably some bug in wxSmith. I'll try to fix that soon.
Thanx for reporting.
Regards
BYO