Index: src/ch/NotEnoughRoomDlg.cpp =================================================================== diff -u -r4c272b19c74694c428c943011f279ec064fbd894 -rd2b121c78f510b5384b8ef0ca80afbfd7f77fef7 --- src/ch/NotEnoughRoomDlg.cpp (.../NotEnoughRoomDlg.cpp) (revision 4c272b19c74694c428c943011f279ec064fbd894) +++ src/ch/NotEnoughRoomDlg.cpp (.../NotEnoughRoomDlg.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 "ch.h" #include "NotEnoughRoomDlg.h" @@ -36,7 +34,7 @@ CNotEnoughRoomDlg::CNotEnoughRoomDlg() - : CHLanguageDialog(CNotEnoughRoomDlg::IDD) + :ictranslate::CLanguageDialog(CNotEnoughRoomDlg::IDD) { //{{AFX_DATA_INIT(CNotEnoughRoomDlg) //}}AFX_DATA_INIT @@ -48,14 +46,14 @@ void CNotEnoughRoomDlg::DoDataExchange(CDataExchange* pDX) { - CHLanguageDialog::DoDataExchange(pDX); + CLanguageDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CNotEnoughRoomDlg) DDX_Control(pDX, IDC_FILES_LIST, m_ctlFiles); //}}AFX_DATA_MAP } -BEGIN_MESSAGE_MAP(CNotEnoughRoomDlg, CHLanguageDialog) +BEGIN_MESSAGE_MAP(CNotEnoughRoomDlg,ictranslate::CLanguageDialog) //{{AFX_MSG_MAP(CNotEnoughRoomDlg) ON_WM_TIMER() ON_BN_CLICKED(IDC_RETRY_BUTTON, OnRetryButton) @@ -87,7 +85,7 @@ BOOL CNotEnoughRoomDlg::OnInitDialog() { - CHLanguageDialog::OnInitDialog(); + CLanguageDialog::OnInitDialog(); // set to top SetWindowPos(&wndNoTopMost, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE /*| SWP_SHOWWINDOW*/); @@ -132,13 +130,13 @@ // end dialog if this is enough if (m_llRequired <= llFree) { - CHLanguageDialog::OnTimer(nIDEvent); + CLanguageDialog::OnTimer(nIDEvent); EndDialog(ID_RETRY); } } } - CHLanguageDialog::OnTimer(nIDEvent); + CLanguageDialog::OnTimer(nIDEvent); } void CNotEnoughRoomDlg::OnRetryButton() @@ -151,7 +149,7 @@ EndDialog(ID_IGNORE); } -void CNotEnoughRoomDlg::OnLanguageChanged(WORD /*wOld*/, WORD /*wNew*/) +void CNotEnoughRoomDlg::OnLanguageChanged() { UpdateDialog(); }