Index: src/ch/BufferSizeDlg.cpp =================================================================== diff -u -re701ed2460c2558eeefab55a1f3ed1d2c89a56c0 -rd2b121c78f510b5384b8ef0ca80afbfd7f77fef7 --- src/ch/BufferSizeDlg.cpp (.../BufferSizeDlg.cpp) (revision e701ed2460c2558eeefab55a1f3ed1d2c89a56c0) +++ src/ch/BufferSizeDlg.cpp (.../BufferSizeDlg.cpp) (revision d2b121c78f510b5384b8ef0ca80afbfd7f77fef7) @@ -1,23 +1,21 @@ -/************************************************************************ - Copy Handler 1.x - program for copying data in Microsoft Windows - systems. - Copyright (C) 2001-2004 Ixen Gerthannes (copyhandler@o2.pl) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -*************************************************************************/ - +/*************************************************************************** +* Copyright (C) 2001-2008 by J�zef Starosczyk * +* ixen@copyhandler.com * +* * +* This program is free software; you can redistribute it and/or modify * +* it under the terms of the GNU Library General Public License * +* (version 2) as published by the Free Software Foundation; * +* * +* This program is distributed in the hope that it will be useful, * +* but WITHOUT ANY WARRANTY; without even the implied warranty of * +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * +* GNU General Public License for more details. * +* * +* You should have received a copy of the GNU Library General Public * +* License along with this program; if not, write to the * +* Free Software Foundation, Inc., * +* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * +***************************************************************************/ #include "stdafx.h" #include "resource.h" #include "BufferSizeDlg.h" @@ -33,7 +31,7 @@ // CBufferSizeDlg dialog CBufferSizeDlg::CBufferSizeDlg() - : CHLanguageDialog(CBufferSizeDlg::IDD) + : ictranslate::CLanguageDialog(CBufferSizeDlg::IDD) { //{{AFX_DATA_INIT(CBufferSizeDlg) m_uiDefaultSize = 0; @@ -48,7 +46,7 @@ void CBufferSizeDlg::DoDataExchange(CDataExchange* pDX) { - CHLanguageDialog::DoDataExchange(pDX); + CLanguageDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CBufferSizeDlg) DDX_Control(pDX, IDC_TWODISKSMULTIPLIER_COMBO, m_ctlTwoDisksMulti); DDX_Control(pDX, IDC_ONEDISKMULTIPLIER_COMBO, m_ctlOneDiskMulti); @@ -64,7 +62,7 @@ //}}AFX_DATA_MAP } -BEGIN_MESSAGE_MAP(CBufferSizeDlg, CHLanguageDialog) +BEGIN_MESSAGE_MAP(CBufferSizeDlg,ictranslate::CLanguageDialog) //{{AFX_MSG_MAP(CBufferSizeDlg) ON_BN_CLICKED(IDC_ONLYDEFAULT_CHECK, OnOnlydefaultCheck) //}}AFX_MSG_MAP @@ -75,7 +73,7 @@ BOOL CBufferSizeDlg::OnInitDialog() { - CHLanguageDialog::OnInitDialog(); + CLanguageDialog::OnInitDialog(); // set all the combos m_ctlDefaultMulti.AddString(GetResManager()->LoadString(IDS_BYTE_STRING)); @@ -138,7 +136,7 @@ return FALSE; } -void CBufferSizeDlg::OnLanguageChanged(WORD /*wOld*/, WORD /*wNew*/) +void CBufferSizeDlg::OnLanguageChanged() { UpdateData(TRUE); @@ -217,7 +215,7 @@ m_bsSizes.m_uiCDSize=m_uiCDROMSize*IndexToValue(m_ctlCDROMMulti.GetCurSel()); m_bsSizes.m_uiLANSize=m_uiLANSize*IndexToValue(m_ctlLANMulti.GetCurSel()); - CHLanguageDialog::OnOK(); + CLanguageDialog::OnOK(); } void CBufferSizeDlg::SetDefaultSize(UINT uiSize)