From Ilka an me: fix problem with access of deleted TGColorDialog object in the WaitFor() method called at the end of the TGColorDialog ctor. Instead of WaitFor() use now WaitForUnmap(), in CloseWindow() call now UnmapWindow() instead of DeleteWindow() and after WaitForUnmap() call now DeleteWindow().
From Ilka an me:
fix problem with access of deleted TGColorDialog object in the WaitFor()
method called at the end of the TGColorDialog ctor. Instead of WaitFor()
use now WaitForUnmap(), in CloseWindow() call now UnmapWindow() instead
of DeleteWindow() and after WaitForUnmap() call now DeleteWindow().

Removed a number of memory leaks by using SetCleanup() for all
composite frames.


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@9754 27541ba8-7e3a-0410-8455-c3a389f83636

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