]> cygwin.com Git - cygwin-apps/setup.git/blob - splash.cc
2004-12-26 Max Bowsher <maxb@ukf.net>
[cygwin-apps/setup.git] / splash.cc
1 /*
2 * Copyright (c) 2001, 2002, 2003 Gary R. Van Sickle.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * A copy of the GNU General Public License can be found at
10 * http://www.gnu.org/
11 *
12 * Written by Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
13 *
14 */
15
16 /* This is the implementation of the SplashPage class. Since the splash page
17 * has little to do, there's not much here. */
18
19 #include "setup_version.h"
20 #include "resource.h"
21 #include "String++.h"
22 #include "splash.h"
23
24 bool
25 SplashPage::Create ()
26 {
27 return PropertyPage::Create (IDD_SPLASH);
28 }
29
30 void
31 SplashPage::OnInit ()
32 {
33 String ver = "Setup.exe version ";
34 ver += (setup_version[0] ? setup_version : "[unknown]");
35 ::SetWindowText (GetDlgItem (IDC_VERSION), ver.cstr_oneuse());
36 }
This page took 0.035015 seconds and 5 git commands to generate.