Bug #17619 2010-10-17 10:29

abuby

What's Wrong With wxListCltr(and some other controls)???!!!

from:http://forums.codeblocks.org/index.php?topic=8999.0;wap2

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!

Now, I have the Same Problems?What's Wrong?!

Oh, include wxHyperlinkCtrl,wxRichTextStyleListCtrl,wxRichTextStyleListBox,wxSearchCtrl and so on has the Same Problem!!!

I finded that The Errors above Happened When Using PCH File and if Don't Use PCH File,It's OK!!!

My Environment:

Code::Blocks:SVN6688,WindowXP32bit,mingw32-gcc 4.4.1

wxWidgets:2.8.11

wxWidgets Compiler Option is:

mingw32-make -f makefile.gcc SHARED=1 MONOLITHIC=1 UNICODE=1 BUILD=release(and debug)

Forgive My Poor English!

Thanks!

Category
Plugin::wxSmith
Group
 
Status
Open
Close date
 
Assigned to