wxMessagebox

wxMessagebox

Syntax

Check out the wiki at: http://docs.wxwidgets.org/trunk/classwx_message_dialog.html

Example usage:

wxMessageBox(wxT("Message"), wxT("Title Box"), wxYES_NO);

Examples usage

Check what button was pushed

How to check what button was pushed?

int add = wxMessageBox(wxT("Er du sikker?"), "Er du sikker?", wxYES_NO);

if (add == wxYES) {
    // button "Yes" was pushed
}