test wxCANCEL_DEFAULT flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f45d6ade08
commit
f0afc953c9
@ -2339,7 +2339,9 @@ private:
|
||||
const wxString& title,
|
||||
int style)
|
||||
{
|
||||
wxMessageDialog dlg(NULL, message, title, wxOK | style);
|
||||
wxMessageDialog dlg(NULL, message, title,
|
||||
wxOK | wxCANCEL | wxCANCEL_DEFAULT | style);
|
||||
dlg.SetOKCancelLabels(wxID_COPY, wxID_OK);
|
||||
dlg.SetExtendedMessage("Note that this is a custom log dialog.");
|
||||
dlg.ShowModal();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user