mitsuba-renderer / nanogui

Minimalistic C++/Python GUI library for OpenGL, GLES2/3, Metal, and WebAssembly/WebGL
Other
1.56k stars 196 forks source link

Example 1 - Question Box comes us with Warning Icon #123

Closed xemjeff closed 1 year ago

xemjeff commented 2 years ago

This needs a quick fix:

example1.cpp - line 135:

auto dlg = new MessageDialog(this, MessageDialog::Type::Warning, "Title", "This is a question message", "Yes", "No", true);

to

auto dlg = new MessageDialog(this, MessageDialog::Type::Question, "Title", "This is a question message", "Yes", "No", true);

wjakob commented 1 year ago

Thanks, fixed!