mirror of
https://github.com/fadden/ciderpress.git
synced 2024-11-10 04:06:17 +00:00
63b9996009
This updates all source files to use spaces instead of tabs for indentation. It also normalizes the end-of-line markers to be Windows-style CRLF, and ensures that all files end with EOL. No substantive changes were made; "diff -w" is empty.
57 lines
1.4 KiB
C++
57 lines
1.4 KiB
C++
/*
|
|
* CiderPress
|
|
* Copyright (C) 2007 by faddenSoft, LLC. All Rights Reserved.
|
|
* See the file LICENSE for distribution terms.
|
|
*/
|
|
// AboutDlg.cpp : implementation file
|
|
//
|
|
|
|
#include "stdafx.h"
|
|
#include "mdc.h"
|
|
#include "AboutDlg.h"
|
|
|
|
#ifdef _DEBUG
|
|
#define new DEBUG_NEW
|
|
#undef THIS_FILE
|
|
static char THIS_FILE[] = __FILE__;
|
|
#endif
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// AboutDlg dialog
|
|
|
|
|
|
AboutDlg::AboutDlg(CWnd* pParent /*=NULL*/)
|
|
: CDialog(AboutDlg::IDD, pParent)
|
|
{
|
|
//{{AFX_DATA_INIT(AboutDlg)
|
|
// NOTE: the ClassWizard will add member initialization here
|
|
//}}AFX_DATA_INIT
|
|
}
|
|
|
|
|
|
BEGIN_MESSAGE_MAP(AboutDlg, CDialog)
|
|
//{{AFX_MSG_MAP(AboutDlg)
|
|
//}}AFX_MSG_MAP
|
|
END_MESSAGE_MAP()
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// AboutDlg message handlers
|
|
|
|
BOOL AboutDlg::OnInitDialog()
|
|
{
|
|
CDialog::OnInitDialog();
|
|
|
|
// TODO: Add extra initialization here
|
|
CWnd* pWnd = GetDlgItem(IDC_ABOUT_VERS);
|
|
ASSERT(pWnd != nil);
|
|
CString fmt, newText;
|
|
|
|
pWnd->GetWindowText(fmt);
|
|
newText.Format(fmt, kAppMajorVersion, kAppMinorVersion, kAppBugVersion);
|
|
pWnd->SetWindowText(newText);
|
|
WMSG1("STR is '%s'\n", newText);
|
|
|
|
return TRUE; // return TRUE unless you set the focus to a control
|
|
// EXCEPTION: OCX Property Pages should return FALSE
|
|
}
|