Index: src/ch/AboutDlg.cpp =================================================================== diff -u -r328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf -rbbc540e8b070fde1b46ea307ded73f47590bc0d8 --- src/ch/AboutDlg.cpp (.../AboutDlg.cpp) (revision 328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf) +++ src/ch/AboutDlg.cpp (.../AboutDlg.cpp) (revision bbc540e8b070fde1b46ea307ded73f47590bc0d8) @@ -74,7 +74,7 @@ return TRUE; } -void CAboutDlg::OnLanguageChanged(WORD /*wOld*/, WORD /*wNew*/) +void CAboutDlg::OnLanguageChanged() { UpdateProgramVersion(); } Index: src/ch/AboutDlg.h =================================================================== diff -u -r328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf -rbbc540e8b070fde1b46ea307ded73f47590bc0d8 --- src/ch/AboutDlg.h (.../AboutDlg.h) (revision 328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf) +++ src/ch/AboutDlg.h (.../AboutDlg.h) (revision bbc540e8b070fde1b46ea307ded73f47590bc0d8) @@ -29,7 +29,7 @@ void UpdateProgramVersion(); - virtual void OnLanguageChanged(WORD wOld, WORD wNew); + virtual void OnLanguageChanged(); virtual BOOL OnTooltipText(UINT uiID, TOOLTIPTEXT* pTip); // Dialog Data Index: src/ch/BufferSizeDlg.cpp =================================================================== diff -u -r328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf -rbbc540e8b070fde1b46ea307ded73f47590bc0d8 --- src/ch/BufferSizeDlg.cpp (.../BufferSizeDlg.cpp) (revision 328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf) +++ src/ch/BufferSizeDlg.cpp (.../BufferSizeDlg.cpp) (revision bbc540e8b070fde1b46ea307ded73f47590bc0d8) @@ -138,7 +138,7 @@ return FALSE; } -void CBufferSizeDlg::OnLanguageChanged(WORD /*wOld*/, WORD /*wNew*/) +void CBufferSizeDlg::OnLanguageChanged() { UpdateData(TRUE); Index: src/ch/BufferSizeDlg.h =================================================================== diff -u -r328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf -rbbc540e8b070fde1b46ea307ded73f47590bc0d8 --- src/ch/BufferSizeDlg.h (.../BufferSizeDlg.h) (revision 328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf) +++ src/ch/BufferSizeDlg.h (.../BufferSizeDlg.h) (revision bbc540e8b070fde1b46ea307ded73f47590bc0d8) @@ -67,7 +67,7 @@ // Implementation protected: - virtual void OnLanguageChanged(WORD wOld, WORD wNew); + virtual void OnLanguageChanged(); void EnableControls(bool bEnable=true); // Generated message map functions Index: src/ch/CustomCopyDlg.cpp =================================================================== diff -u -r328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf -rbbc540e8b070fde1b46ea307ded73f47590bc0d8 --- src/ch/CustomCopyDlg.cpp (.../CustomCopyDlg.cpp) (revision 328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf) +++ src/ch/CustomCopyDlg.cpp (.../CustomCopyDlg.cpp) (revision bbc540e8b070fde1b46ea307ded73f47590bc0d8) @@ -259,7 +259,7 @@ return TRUE; } -void CCustomCopyDlg::OnLanguageChanged(WORD /*wOld*/, WORD /*wNew*/) +void CCustomCopyDlg::OnLanguageChanged() { UpdateData(TRUE); Index: src/ch/CustomCopyDlg.h =================================================================== diff -u -r328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf -rbbc540e8b070fde1b46ea307ded73f47590bc0d8 --- src/ch/CustomCopyDlg.h (.../CustomCopyDlg.h) (revision 328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf) +++ src/ch/CustomCopyDlg.h (.../CustomCopyDlg.h) (revision bbc540e8b070fde1b46ea307ded73f47590bc0d8) @@ -80,7 +80,7 @@ // Implementation protected: - virtual void OnLanguageChanged(WORD wOld, WORD wNew); + virtual void OnLanguageChanged(); void UpdateDialog(); void UpdateComboIcon(); void SetComboPath(LPCTSTR lpszText); Index: src/ch/FilterDlg.cpp =================================================================== diff -u -r328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf -rbbc540e8b070fde1b46ea307ded73f47590bc0d8 --- src/ch/FilterDlg.cpp (.../FilterDlg.cpp) (revision 328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf) +++ src/ch/FilterDlg.cpp (.../FilterDlg.cpp) (revision bbc540e8b070fde1b46ea307ded73f47590bc0d8) @@ -195,7 +195,7 @@ return TRUE; } -void CFilterDlg::OnLanguageChanged(WORD /*wOld*/, WORD /*wNew*/) +void CFilterDlg::OnLanguageChanged() { // empty combos int iPos[4]; Index: src/ch/FilterDlg.h =================================================================== diff -u -r328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf -rbbc540e8b070fde1b46ea307ded73f47590bc0d8 --- src/ch/FilterDlg.h (.../FilterDlg.h) (revision 328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf) +++ src/ch/FilterDlg.h (.../FilterDlg.h) (revision bbc540e8b070fde1b46ea307ded73f47590bc0d8) @@ -82,7 +82,7 @@ CStringArray m_astrAddExcludeMask; protected: - virtual void OnLanguageChanged(WORD wOld, WORD wNew); + virtual void OnLanguageChanged(); int GetMultiplier(int iIndex); void EnableControls(); void SetSize1(unsigned __int64 ullSize); Index: src/ch/MiniViewDlg.cpp =================================================================== diff -u -r328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf -rbbc540e8b070fde1b46ea307ded73f47590bc0d8 --- src/ch/MiniViewDlg.cpp (.../MiniViewDlg.cpp) (revision 328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf) +++ src/ch/MiniViewDlg.cpp (.../MiniViewDlg.cpp) (revision bbc540e8b070fde1b46ea307ded73f47590bc0d8) @@ -805,7 +805,7 @@ GetParent()->PostMessage(WM_MINIVIEWDBLCLK, 0, (LPARAM)pTask); } -void CMiniViewDlg::OnLanguageChanged(WORD /*wOld*/, WORD /*wNew*/) +void CMiniViewDlg::OnLanguageChanged() { ResizeDialog(); } Index: src/ch/MiniViewDlg.h =================================================================== diff -u -r328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf -rbbc540e8b070fde1b46ea307ded73f47590bc0d8 --- src/ch/MiniViewDlg.h (.../MiniViewDlg.h) (revision 328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf) +++ src/ch/MiniViewDlg.h (.../MiniViewDlg.h) (revision bbc540e8b070fde1b46ea307ded73f47590bc0d8) @@ -64,7 +64,7 @@ void RecalcSize(int nHeight, bool bInitial); virtual UINT GetLanguageUpdateOptions() { return LDF_NODIALOGSIZE; }; - virtual void OnLanguageChanged(WORD wOld, WORD wNew); + virtual void OnLanguageChanged(); // from CMainWnd CTaskArray *m_pTasks; Index: src/ch/NotEnoughRoomDlg.cpp =================================================================== diff -u -r328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf -rbbc540e8b070fde1b46ea307ded73f47590bc0d8 --- src/ch/NotEnoughRoomDlg.cpp (.../NotEnoughRoomDlg.cpp) (revision 328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf) +++ src/ch/NotEnoughRoomDlg.cpp (.../NotEnoughRoomDlg.cpp) (revision bbc540e8b070fde1b46ea307ded73f47590bc0d8) @@ -151,7 +151,7 @@ EndDialog(ID_IGNORE); } -void CNotEnoughRoomDlg::OnLanguageChanged(WORD /*wOld*/, WORD /*wNew*/) +void CNotEnoughRoomDlg::OnLanguageChanged() { UpdateDialog(); } Index: src/ch/NotEnoughRoomDlg.h =================================================================== diff -u -r328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf -rbbc540e8b070fde1b46ea307ded73f47590bc0d8 --- src/ch/NotEnoughRoomDlg.h (.../NotEnoughRoomDlg.h) (revision 328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf) +++ src/ch/NotEnoughRoomDlg.h (.../NotEnoughRoomDlg.h) (revision bbc540e8b070fde1b46ea307ded73f47590bc0d8) @@ -55,7 +55,7 @@ protected: void UpdateDialog(); - virtual void OnLanguageChanged(WORD wOld, WORD wNew); + virtual void OnLanguageChanged(); // Generated message map functions //{{AFX_MSG(CNotEnoughRoomDlg) Index: src/ch/OptionsDlg.cpp =================================================================== diff -u -r8365388f3399fd0d587f9b6076c6c40bc32a89a0 -rbbc540e8b070fde1b46ea307ded73f47590bc0d8 --- src/ch/OptionsDlg.cpp (.../OptionsDlg.cpp) (revision 8365388f3399fd0d587f9b6076c6c40bc32a89a0) +++ src/ch/OptionsDlg.cpp (.../OptionsDlg.cpp) (revision bbc540e8b070fde1b46ea307ded73f47590bc0d8) @@ -544,7 +544,7 @@ ApplyProperties(); } -void COptionsDlg::OnLanguageChanged(WORD /*wOld*/, WORD /*wNew*/) +void COptionsDlg::OnLanguageChanged() { m_ctlProperties.Reinit(); Index: src/ch/OptionsDlg.h =================================================================== diff -u -r328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf -rbbc540e8b070fde1b46ea307ded73f47590bc0d8 --- src/ch/OptionsDlg.h (.../OptionsDlg.h) (revision 328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf) +++ src/ch/OptionsDlg.h (.../OptionsDlg.h) (revision bbc540e8b070fde1b46ea307ded73f47590bc0d8) @@ -37,7 +37,7 @@ void SendClosingNotify(); COptionsDlg(CWnd* pParent = NULL); // standard constructor - virtual void OnLanguageChanged(WORD wOld, WORD wNew); + virtual void OnLanguageChanged(); static bool m_bLock; // locker Index: src/ch/StatusDlg.cpp =================================================================== diff -u -r328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf -rbbc540e8b070fde1b46ea307ded73f47590bc0d8 --- src/ch/StatusDlg.cpp (.../StatusDlg.cpp) (revision 328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf) +++ src/ch/StatusDlg.cpp (.../StatusDlg.cpp) (revision bbc540e8b070fde1b46ea307ded73f47590bc0d8) @@ -937,7 +937,7 @@ GetParent()->PostMessage(WM_STATUSCLOSING); } -void CStatusDlg::OnLanguageChanged(WORD /*wOld*/, WORD /*wNew*/) +void CStatusDlg::OnLanguageChanged() { // remove all columns int iCnt=m_ctlStatusList.GetHeaderCtrl()->GetItemCount(); Index: src/ch/StatusDlg.h =================================================================== diff -u -r328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf -rbbc540e8b070fde1b46ea307ded73f47590bc0d8 --- src/ch/StatusDlg.h (.../StatusDlg.h) (revision 328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf) +++ src/ch/StatusDlg.h (.../StatusDlg.h) (revision bbc540e8b070fde1b46ea307ded73f47590bc0d8) @@ -90,7 +90,7 @@ // Implementation protected: - virtual void OnLanguageChanged(WORD wOld, WORD wNew); + virtual void OnLanguageChanged(); // Generated message map functions //{{AFX_MSG(CStatusDlg) Index: src/ch/ch.cpp =================================================================== diff -u -r328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf -rbbc540e8b070fde1b46ea307ded73f47590bc0d8 --- src/ch/ch.cpp (.../ch.cpp) (revision 328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf) +++ src/ch/ch.cpp (.../ch.cpp) (revision bbc540e8b070fde1b46ea307ded73f47590bc0d8) @@ -74,15 +74,9 @@ // CCopyHandlerApp construction // main routing function - routes any message that comes from modules -void ResManCallback(uint_t uiMsg, uint_t uiParam) +void ResManCallback(uint_t uiMsg) { - // now additional processing - switch(uiMsg) - { - case WM_RMNOTIFY: - theApp.OnResManNotify((UINT)uiParam, 0); - break; - } + theApp.OnResManNotify(uiMsg); } void ConfigPropertyChangedCallback(uint_t uiPropID, ptr_t /*pParam*/) @@ -330,7 +324,7 @@ } } -void CCopyHandlerApp::OnResManNotify(UINT uiType, LPARAM /*lParam*/) +void CCopyHandlerApp::OnResManNotify(UINT uiType) { if (uiType == RMNT_LANGCHANGE) { Index: src/ch/ch.h =================================================================== diff -u -r328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf -rbbc540e8b070fde1b46ea307ded73f47590bc0d8 --- src/ch/ch.h (.../ch.h) (revision 328d5100c7f464a4b1fbbbd7ccfa07bf2aaae2cf) +++ src/ch/ch.h (.../ch.h) (revision bbc540e8b070fde1b46ea307ded73f47590bc0d8) @@ -65,7 +65,7 @@ // friend CLogFile* GetLog(); void OnConfigNotify(uint_t uiPropID); - void OnResManNotify(UINT uiType, LPARAM lParam); + void OnResManNotify(UINT uiType); protected: bool UpdateHelpPaths(); HWND HHelp(HWND hwndCaller, LPCTSTR pszFile, UINT uCommand, DWORD dwData);