find function called in wxEventHandler::Connect

Post here any ideas/problems/suggestions you have regarding CodeLite's CScope plugin
evstevemd
CodeLite Guru
Posts: 350
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

find function called in wxEventHandler::Connect

Post by evstevemd »

Is there a way to find a function as called in Connet()/Bind()?

CodeLite 15.x
CodeLite is awesome, I just Love it!

User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: find function called in wxEventHandler::Connect

Post by eranif »

I am not sure I understand it.

Please provide an example

Eran
Make sure you have read the HOW TO POST thread
evstevemd
CodeLite Guru
Posts: 350
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: find function called in wxEventHandler::Connect

Post by evstevemd »

I mean where event handlers are called!
If you find any other function like Foo::Baa(int x) it is easily found where it is being called.
But I cannot find something like Foo::Baz(wxCommandEvent& e). But I know it is being called somewhere like this

Code: Select all

Connect(wxID_XXX, wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(Foo::Baz), NULL, this);
But in CScope it returns nothing showing that the function is not called anywhere! Do I misunderstand CScope? :shock:

CodeLite 15.x
CodeLite is awesome, I just Love it!

User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: find function called in wxEventHandler::Connect

Post by eranif »

evstevemd wrote: Do I misunderstand CScope? :shock:
cscope is a great tool, but not when it comes to C++...

Have you tried:
Right click on the word 'Connect' and then 'Search | Find references' ?

If this fails, you can always use the 'Find in files'

Eran
Make sure you have read the HOW TO POST thread
Post Reply