Clone
ixen <ixen@copyhandler.com>
committed
on 08 Sep 16
Switched entire code to use nullptr instead of NULL (CH-259).
LoggerImprovements + 5 more
1.41
src/ch/AboutDlg.cpp (+1 -1)
12 12 *   GNU General Public License for more details.                          *
13 13 *                                                                         *
14 14 *   You should have received a copy of the GNU Library General Public     *
15 15 *   License along with this program; if not, write to the                 *
16 16 *   Free Software Foundation, Inc.,                                       *
17 17 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
18 18 ***************************************************************************/
19 19 #include "stdafx.h"
20 20 #include "ch.h"
21 21 #include "resource.h"
22 22 #include "AboutDlg.h"
23 23 #include "StaticEx.h"
24 24 #include "../common/version.h"
25 25
26 26 #ifdef _DEBUG
27 27 #define new DEBUG_NEW
28 28 #endif
29 29
30 30 bool CAboutDlg::m_bLock=false;
31 31
32   CAboutDlg::CAboutDlg() :ictranslate::CLanguageDialog(IDD_ABOUTBOX, NULL, &m_bLock)
  32 CAboutDlg::CAboutDlg() :ictranslate::CLanguageDialog(IDD_ABOUTBOX, nullptr, &m_bLock)
33 33 {
34 34         //{{AFX_DATA_INIT(CAboutDlg)
35 35         //}}AFX_DATA_INIT
36 36         RegisterStaticExControl(AfxGetInstanceHandle());
37 37 }
38 38
39 39 CAboutDlg::~CAboutDlg()
40 40 {
41 41 }
42 42
43 43 BEGIN_MESSAGE_MAP(CAboutDlg,ictranslate::CLanguageDialog)
44 44         //{{AFX_MSG_MAP(CAboutDlg)
45 45         //}}AFX_MSG_MAP
46 46 END_MESSAGE_MAP()
47 47
48 48 void CAboutDlg::UpdateProgramVersion()
49 49 {
50 50         CWnd* pCtl = GetDlgItem(IDC_PROGRAM_STATICEX);
51 51         CWnd* pCtl2 = GetDlgItem(IDC_FULLVERSION_STATICEX);
52 52         CWnd* pWndCopyright = GetDlgItem(IDC_COPYRIGHT_STATIC);