Author Topic: wxWidgets with Code::Blocks  (Read 5710 times)

Jaco

  • Guest
wxWidgets with Code::Blocks
« on: August 02, 2008, 10:57:32 pm »
I am currently having trouble with Code::Blocks on auto completion for the wxWidgets library.

My build options are set up properly. Compiler Settings->Other Options has the line `wx-config --cxxflags` in it and the Other Linker Options has the `wx-config --libs` command in it.

Now, in Project Properties', C/C++ Parser Options has the an item added with the directory of: /usr/include/wx-2.8.

I am running Ubuntu 8.04.

Now this is the problem... when I type "wxFrame" in, the auto completion dialog pops up. It does not list wxFrame but only wxFrameBase. For all the GUI classes, it only finds the classes with Base appended to the end (i.e: wxFrameBase, wxButtonBase, etc.). How do I fix this?

All the examples that I tried compile just fine.

Thanks in advanced,
Jaco.



Offline Wolf

  • Multiple posting newcomer
  • *
  • Posts: 30
Re: wxWidgets with Code::Blocks
« Reply #1 on: August 04, 2008, 07:59:29 pm »
Code completion is in redesign. We all know it is broken, which is why it is being redesigned. =P

For more info, see this board:
http://forums.codeblocks.org/index.php?board=18.0