TRootCanvas: when "Colors" selected from the "View" menu, color wheel object creates a canvas (step 1), appends itself  into this canvas (step 2). This code relies on the fact, that all events (configure/expose/etc) will be received _after_ step 2 and canvas will be eventually repainted later. This is not true in case of cocoa: window is created and made visible on step 1, it's repainted after step 1 and before step 2, so any contents added after step 2 will become visible only after gPad->Update() call (BTW, this is how it's  done in TRootCanvas for "View"->"Markers".
TRootCanvas: when "Colors" selected from the "View" menu,
color wheel object creates a canvas (step 1), appends itself 
into this canvas (step 2). This code relies on the fact, that
all events (configure/expose/etc) will be received _after_ step 2
and canvas will be eventually repainted later. This is not true in case
of cocoa: window is created and made visible on step 1, it's repainted
after step 1 and before step 2, so any contents added after step 2
will become visible only after gPad->Update() call (BTW, this is how it's 
done in TRootCanvas for "View"->"Markers".

Call gPad->Update(), do not rely on X11 specific (events in a queue at the end
of event loop iteration).


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

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