void StGLMsgStack::stglUpdate(const StPointD_t& thePointZo) { StGLWidget::stglUpdate(thePointZo); // check messages stack while(myMsgQueue->pop(myMsgTmp)) { StGLMessageBox* aMsgBox = new StGLMessageBox(this, "", *myMsgTmp.Text); aMsgBox->addButton("Close"); aMsgBox->setVisibility(true, true); aMsgBox->stglInit(); } }