find function called in wxEventHandler::Connect
-
- CodeLite Guru
- Posts: 352
- Joined: Sun Nov 29, 2009 7:36 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
find function called in wxEventHandler::Connect
Is there a way to find a function as called in Connet()/Bind()?
CodeLite 15.x
CodeLite is awesome, I just Love it!
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: find function called in wxEventHandler::Connect
I am not sure I understand it.
Please provide an example
Eran
Please provide an example
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Guru
- Posts: 352
- Joined: Sun Nov 29, 2009 7:36 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: find function called in wxEventHandler::Connect
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
But in CScope it returns nothing showing that the function is not called anywhere! Do I misunderstand CScope?
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);
CodeLite 15.x
CodeLite is awesome, I just Love it!
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: find function called in wxEventHandler::Connect
cscope is a great tool, but not when it comes to C++...evstevemd wrote: Do I misunderstand CScope?
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