]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dialogs/dialogs.cpp
minor fixes
[wxWidgets.git] / samples / dialogs / dialogs.cpp
index d0e24dea0976b85a63b3e0b2f8dd0ff343086101..0a3c4638ba2bea4797623b80603cdf2f4287b7a3 100644 (file)
@@ -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();
     }