Build fix for when implicit conversion in ref_ptr<> is switched off.

This commit is contained in:
Robert Osfield 2008-11-29 11:35:03 +00:00
parent a14b6b9e24
commit 3c611dcf30

View File

@ -223,7 +223,7 @@ osgWidget::Frame* MessageBox::createButtonOk(const std::string& theme,
frame->resizeFrame(box->getWidth(), box->getHeight()); frame->resizeFrame(box->getWidth(), box->getHeight());
frame->resizeAdd(0, 0); frame->resizeAdd(0, 0);
EventOK* event = new EventOK(frame); EventOK* event = new EventOK(frame.get());
frame->setUpdateCallback(event); frame->setUpdateCallback(event);
frame->addCallback(event); frame->addCallback(event);