Build fix for when implicit conversion in ref_ptr<> is switched off.
This commit is contained in:
parent
a14b6b9e24
commit
3c611dcf30
@ -223,7 +223,7 @@ osgWidget::Frame* MessageBox::createButtonOk(const std::string& theme,
|
||||
frame->resizeFrame(box->getWidth(), box->getHeight());
|
||||
frame->resizeAdd(0, 0);
|
||||
|
||||
EventOK* event = new EventOK(frame);
|
||||
EventOK* event = new EventOK(frame.get());
|
||||
frame->setUpdateCallback(event);
|
||||
frame->addCallback(event);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user