# Updating using gPad-\>Modified() and gPad-\>Update()

**URL:** <https://root-forum.cern.ch/t/updating-using-gpad-modified-and-gpad-update/27821>\
**Category:** ROOT\
**Created:** [February 5, 2018, 4:56pm UTC](https://root-forum.cern.ch/t/updating-using-gpad-modified-and-gpad-update/27821 "2018-02-05T16:56:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [February 5, 2018, 11:58pm UTC](https://root-forum.cern.ch/t/updating-using-gpad-modified-and-gpad-update/27821/2 "2018-02-05T23:58:58Z")

</div>

Maybe you are facing [a bug with the Cocoa version on Mac which was discovered some time ago](https://root-forum.cern.ch/t/canvas-will-not-show/27582/10).  
After each “Update”, try to add `gSystem->ProcessEvents();` (executed once or two times).

BTW. When you post “source code” or “output” here, do remember to enclose them into two lines which contain just three characters ``` (see how your post has been edited above).

---

_[View the full topic](https://root-forum.cern.ch/t/updating-using-gpad-modified-and-gpad-update/27821)._
