User forums > General (but related to Code::Blocks)
CodeCompletion wxWidgets
ANtlord:
Did I ask question incorrent? Or problem has no solution?
I forgot send some details. I have some code completion, but it has methods and variables from my files (which I create myself). And it has some constants from wxWidget's libraries. But it hasn't important methods (example: GetSize, Create, GetVaue, etc).
ollydbg:
--- Quote from: ANtlord on July 02, 2012, 02:51:17 am ---Did I ask question incorrent? Or problem has no solution?
I forgot send some details. I have some code completion, but it has methods and variables from my files (which I create myself). And it has some constants from wxWidget's libraries. But it hasn't important methods (example: GetSize, Create, GetVaue, etc).
--- End quote ---
Tell us how to reproduce your bugs. Otherwise, how can we help you???
I don't have such issue. But please note that the C++ parser in our CodeCompletion is not 100% good enough.
eranif:
--- Quote from: ollydbg on July 02, 2012, 04:08:18 am ---Tell us how to reproduce your bugs. Otherwise, how can we help you???
I don't have such issue. But please note that the C++ parser in our CodeCompletion is not 100% good enough.
--- End quote ---
The OP has given you all the information that you need. The important bit was that he is using wx2.9.3
Here is my guess:
Since wxWidgets 2.9.3, the wx team changed the inheritance of their base classes.
If in wx < 2.9.3 the inheritance was something like this:
wxPanel -> wxPanelbase -> wxWindow -> ...
it is now has become:
wxPanel -> wxPanelBase -> wxNavigationEnabled<wxWindow>
So C::B should be able to handle this kind of inheritance, otherwise all the basic wxWindow functions will not be available (like: GetSizer(), GetSize(), Create(), SetBackgroundColour() etc. which are all members of wxWindow)
HTH,
Eran
ANtlord:
--- Quote ---Tell us how to reproduce your bugs. Otherwise, how can we help you???
I don't have such issue. But please note that the C++ parser in our CodeCompletion is not 100% good enough.
--- End quote ---
Sorry. This is easy Example:
I create wxWidgets's project an I want get window's width. For this I write in сonstructor "this->", press Ctrl+Space and I don't detect in popup list method "GetSize".
Eran, if CodeBlocks isn't able for this, do you have idea, how fix this?
P.S. I thinked all developers use wxWidgets 2.9.3. Am I wrong?
Jenna:
--- Quote from: ANtlord on July 02, 2012, 01:47:10 pm ---P.S. I thinked all developers use wxWidgets 2.9.3. Am I wrong?
--- End quote ---
Yes !
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version