Make the menus of Delphi applications work.
[wine.git] / programs / winefile / license.c
blob8e6669708199b6bc99af8fcd2f82ec5c6abd7b2b
1 /*
2 * Copyright 2000 Martin Fuchs
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #include "windows.h"
21 static const CHAR LicenseCaption[] = "LICENSE";
22 static const CHAR License[] =
23 "This library is free software; you can redistribute it and/or "
24 "modify it under the terms of the GNU Lesser General Public "
25 "License as published by the Free Software Foundation; either "
26 "version 2.1 of the License, or (at your option) any later version.\n"
28 "This library is distributed in the hope that it will be useful, "
29 "but WITHOUT ANY WARRANTY; without even the implied warranty of "
30 "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU "
31 "Lesser General Public License for more details.\n"
33 "You should have received a copy of the GNU Lesser General Public "
34 "License along with this library; if not, write to the Free Software "
35 "Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA";
37 static const CHAR NoWarrantyCaption[] = "NO WARRANTY";
38 static const CHAR NoWarranty[] =
39 "This library is distributed in the hope that it will be useful, "
40 "but WITHOUT ANY WARRANTY; without even the implied warranty of "
41 "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU "
42 "Lesser General Public License for more details.";
44 VOID WineLicense(HWND hwnd)
46 MessageBoxA(hwnd, License, LicenseCaption, MB_ICONINFORMATION|MB_OK);
49 VOID WineWarranty(HWND hwnd)
51 MessageBoxA(hwnd, NoWarranty, NoWarrantyCaption, MB_ICONEXCLAMATION|MB_OK);