Use recursive method FindClassOrBaseMethodWithId to look in the base classes
Use recursive method FindClassOrBaseMethodWithId to look in the base classes

This solves a potential error with signal/slots. E.g. tutorial/gui/splitbuttonTest.C was issuing these errors:

Error in <TQClass::GetMethod>:
Did not find matching TMethod <SetState> with " kButtonUp" for TGSplitButton
Error in <TQObject::CheckConnectArgs>: slot TGSplitButton::SetState( kButtonUp) does not exist
TQObject::Connect (this=0x25a83d0, signal=0x7fffeea24e7c "PoppedDown()", receiver_class=0x7fffeea24e05 "TGSplitButton", receiver=0x25a8850,
    slot=0x7fffeea24eae "SetState(=kButtonUp)") at /build/bellenot/git/master/core/base/src/TQObject.cxx:1201

Since the method SetState(=kButtonUp) is a method of TGButton, while TGSplitButton inherits from TGTextButton, itself inheriting from TGButton

olifre/root,root-mirror/root,zzxuanyuan/root,thomaskeck/root,sirinath/root,davidlt/root,zzxuanyuan/root,buuck/root,omazapa/root-old,BerserkerTroll/root,gbitzes/root,CristinaCristescu/root,Y--/root,abhinavmoudgil95/root,vukasinmilosevic/root,buuck/root,karies/root,satyarth934/root,lgiommi/root,dfunke/root,gbitzes/root,omazapa/root-old,CristinaCristescu/root,mkret2/root,omazapa/root,beniz/root,lgiommi/root,esakellari/root,agarciamontoro/root,olifre/root,arch1tect0r/root,davidlt/root,karies/root,abhinavmoudgil95/root,veprbl/root,mattkretz/root,BerserkerTroll/root,BerserkerTroll/root,nilqed/root,pspe/root,agarciamontoro/root,gbitzes/root,thomaskeck/root,jrtomps/root,satyarth934/root,Duraznos/root,jrtomps/root,esakellari/root,satyarth934/root,krafczyk/root,vukasinmilosevic/root,arch1tect0r/root,davidlt/root,dfunke/root,vukasinmilosevic/root,nilqed/root,thomaskeck/root,mhuwiler/rootauto,veprbl/root,simonpf/root,0x0all/ROOT,zzxuanyuan/root-compressor-dummy,omazapa/root-old,gbitzes/root,beniz/root,bbockelm/root,lgiommi/root,zzxuanyuan/root,gganis/root,sawenzel/root,karies/root,lgiommi/root,perovic/root,dfunke/root,agarciamontoro/root,CristinaCristescu/root,karies/root,omazapa/root-old,root-mirror/root,sirinath/root,gbitzes/root,karies/root,CristinaCristescu/root,thomaskeck/root,root-mirror/root,CristinaCristescu/root,esakellari/root,jrtomps/root,beniz/root,sawenzel/root,smarinac/root,esakellari/my_root_for_test,sawenzel/root,evgeny-boger/root,smarinac/root,zzxuanyuan/root,mkret2/root,vukasinmilosevic/root,BerserkerTroll/root,vukasinmilosevic/root,bbockelm/root,evgeny-boger/root,agarciamontoro/root,beniz/root,smarinac/root,veprbl/root,BerserkerTroll/root,mattkretz/root,satyarth934/root,zzxuanyuan/root-compressor-dummy,gbitzes/root,esakellari/root,buuck/root,arch1tect0r/root,simonpf/root,0x0all/ROOT,zzxuanyuan/root,evgeny-boger/root,omazapa/root,sirinath/root,Duraznos/root,vukasinmilosevic/root,georgtroska/root,esakellari/my_root_for_test,pspe/root,Y--/root,esakellari/my_root_for_test,zzxuanyuan/root,esakellari/root,omazapa/root-old,buuck/root,karies/root,thomaskeck/root,satyarth934/root,agarciamontoro/root,mattkretz/root,sbinet/cxx-root,krafczyk/root,root-mirror/root,krafczyk/root,pspe/root,evgeny-boger/root,mkret2/root,evgeny-boger/root,satyarth934/root,olifre/root,olifre/root,simonpf/root,omazapa/root,sirinath/root,Duraznos/root,abhinavmoudgil95/root,Duraznos/root,mhuwiler/rootauto,beniz/root,Y--/root,olifre/root,sirinath/root,georgtroska/root,zzxuanyuan/root,sbinet/cxx-root,sbinet/cxx-root,davidlt/root,gbitzes/root,buuck/root,mkret2/root,karies/root,dfunke/root,abhinavmoudgil95/root,mkret2/root,zzxuanyuan/root,pspe/root,georgtroska/root,zzxuanyuan/root-compressor-dummy,olifre/root,mkret2/root,dfunke/root,simonpf/root,esakellari/root,pspe/root,0x0all/ROOT,pspe/root,smarinac/root,mattkretz/root,davidlt/root,BerserkerTroll/root,perovic/root,omazapa/root,CristinaCristescu/root,mattkretz/root,zzxuanyuan/root-compressor-dummy,davidlt/root,satyarth934/root,0x0all/ROOT,omazapa/root,bbockelm/root,davidlt/root,veprbl/root,vukasinmilosevic/root,mhuwiler/rootauto,Y--/root,simonpf/root,nilqed/root,smarinac/root,Y--/root,sbinet/cxx-root,root-mirror/root,esakellari/root,davidlt/root,perovic/root,zzxuanyuan/root-compressor-dummy,arch1tect0r/root,bbockelm/root,pspe/root,pspe/root,karies/root,mattkretz/root,buuck/root,gganis/root,BerserkerTroll/root,root-mirror/root,gganis/root,perovic/root,krafczyk/root,sbinet/cxx-root,esakellari/my_root_for_test,omazapa/root-old,esakellari/root,Y--/root,jrtomps/root,root-mirror/root,gbitzes/root,jrtomps/root,satyarth934/root,omazapa/root-old,0x0all/ROOT,simonpf/root,bbockelm/root,beniz/root,dfunke/root,veprbl/root,perovic/root,mkret2/root,krafczyk/root,georgtroska/root,karies/root,buuck/root,olifre/root,nilqed/root,Duraznos/root,sawenzel/root,mkret2/root,buuck/root,dfunke/root,abhinavmoudgil95/root,lgiommi/root,mattkretz/root,zzxuanyuan/root-compressor-dummy,davidlt/root,lgiommi/root,bbockelm/root,abhinavmoudgil95/root,dfunke/root,sbinet/cxx-root,perovic/root,simonpf/root,veprbl/root,nilqed/root,agarciamontoro/root,veprbl/root,abhinavmoudgil95/root,jrtomps/root,karies/root,bbockelm/root,zzxuanyuan/root,mhuwiler/rootauto,sirinath/root,bbockelm/root,gganis/root,omazapa/root-old,simonpf/root,sbinet/cxx-root,arch1tect0r/root,perovic/root,mhuwiler/rootauto,gganis/root,CristinaCristescu/root,sbinet/cxx-root,thomaskeck/root,arch1tect0r/root,CristinaCristescu/root,nilqed/root,omazapa/root,gbitzes/root,thomaskeck/root,sbinet/cxx-root,gbitzes/root,mhuwiler/rootauto,agarciamontoro/root,evgeny-boger/root,0x0all/ROOT,nilqed/root,perovic/root,Y--/root,mattkretz/root,omazapa/root,zzxuanyuan/root,Y--/root,smarinac/root,CristinaCristescu/root,BerserkerTroll/root,vukasinmilosevic/root,beniz/root,Duraznos/root,thomaskeck/root,Y--/root,jrtomps/root,buuck/root,nilqed/root,Duraznos/root,smarinac/root,zzxuanyuan/root-compressor-dummy,lgiommi/root,Duraznos/root,pspe/root,0x0all/ROOT,smarinac/root,0x0all/ROOT,arch1tect0r/root,Y--/root,zzxuanyuan/root-compressor-dummy,buuck/root,sbinet/cxx-root,satyarth934/root,dfunke/root,georgtroska/root,krafczyk/root,olifre/root,zzxuanyuan/root-compressor-dummy,agarciamontoro/root,krafczyk/root,thomaskeck/root,satyarth934/root,esakellari/root,agarciamontoro/root,Duraznos/root,abhinavmoudgil95/root,mkret2/root,simonpf/root,agarciamontoro/root,gganis/root,krafczyk/root,sirinath/root,sawenzel/root,arch1tect0r/root,sawenzel/root,omazapa/root-old,olifre/root,sawenzel/root,gganis/root,perovic/root,esakellari/root,bbockelm/root,georgtroska/root,jrtomps/root,sirinath/root,zzxuanyuan/root-compressor-dummy,mhuwiler/rootauto,omazapa/root,nilqed/root,omazapa/root,mkret2/root,lgiommi/root,olifre/root,arch1tect0r/root,evgeny-boger/root,karies/root,zzxuanyuan/root-compressor-dummy,davidlt/root,veprbl/root,CristinaCristescu/root,BerserkerTroll/root,veprbl/root,gganis/root,vukasinmilosevic/root,evgeny-boger/root,evgeny-boger/root,zzxuanyuan/root,mattkretz/root,buuck/root,0x0all/ROOT,bbockelm/root,satyarth934/root,krafczyk/root,esakellari/my_root_for_test,mhuwiler/rootauto,thomaskeck/root,lgiommi/root,sirinath/root,mhuwiler/rootauto,jrtomps/root,georgtroska/root,pspe/root,beniz/root,perovic/root,sawenzel/root,bbockelm/root,lgiommi/root,nilqed/root,Y--/root,omazapa/root-old,sirinath/root,abhinavmoudgil95/root,georgtroska/root,dfunke/root,davidlt/root,sirinath/root,esakellari/my_root_for_test,esakellari/root,esakellari/my_root_for_test,root-mirror/root,omazapa/root,gganis/root,georgtroska/root,abhinavmoudgil95/root,lgiommi/root,root-mirror/root,evgeny-boger/root,olifre/root,Duraznos/root,abhinavmoudgil95/root,mhuwiler/rootauto,mattkretz/root,Duraznos/root,georgtroska/root,mhuwiler/rootauto,root-mirror/root,root-mirror/root,simonpf/root,beniz/root,dfunke/root,perovic/root,sawenzel/root,vukasinmilosevic/root,esakellari/my_root_for_test,esakellari/my_root_for_test,sawenzel/root,vukasinmilosevic/root,sawenzel/root,krafczyk/root,nilqed/root,krafczyk/root,CristinaCristescu/root,simonpf/root,arch1tect0r/root,jrtomps/root,BerserkerTroll/root,evgeny-boger/root,omazapa/root-old,pspe/root,gganis/root,smarinac/root,veprbl/root,esakellari/my_root_for_test,georgtroska/root,mattkretz/root,zzxuanyuan/root,beniz/root,gganis/root,mkret2/root,veprbl/root,arch1tect0r/root,omazapa/root,jrtomps/root,gbitzes/root,BerserkerTroll/root,sbinet/cxx-root,smarinac/root,beniz/root,agarciamontoro/root