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:
Vadim Zeitlin 2008-09-11 23:40:15 +00:00
parent f45d6ade08
commit f0afc953c9

View File

@ -2339,7 +2339,9 @@ private:
const wxString& title, const wxString& title,
int style) 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.SetExtendedMessage("Note that this is a custom log dialog.");
dlg.ShowModal(); dlg.ShowModal();
} }