mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-07 07:14:56 -06:00
make it build after mod
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
#include <wchar.h>
|
||||
#include "Panel.h"
|
||||
#include "ViewSettings.h"
|
||||
#ifdef LANG
|
||||
#include "LangUtils.h"
|
||||
|
||||
using namespace NWindows;
|
||||
@@ -370,7 +369,7 @@ void CCopyDialog::ShowPathFreeSpace(UString & strPath)
|
||||
_freeSpace.SetText(strText);
|
||||
}
|
||||
|
||||
bool CCopyDialog::OnCommand(int code, int itemID, LPARAM lParam)
|
||||
bool CCopyDialog::OnCommand(unsigned code, unsigned itemID, LPARAM lParam)
|
||||
{
|
||||
if (itemID == IDC_COPY)
|
||||
{
|
||||
|
||||
@@ -21,7 +21,7 @@ class CCopyDialog: public NWindows::NControl::CModalDialog
|
||||
void OnButtonSetPath();
|
||||
void OnButtonOpenPath();
|
||||
void OnButtonAddFileName();
|
||||
bool OnCommand(int code, int itemID, LPARAM lParam);
|
||||
bool OnCommand(unsigned code, unsigned itemID, LPARAM lParam) Z7_override;
|
||||
bool OnGetMinMaxInfo(PMINMAXINFO pMMI);
|
||||
|
||||
void ShowPathFreeSpace(UString & strPath);
|
||||
|
||||
@@ -574,11 +574,11 @@ void CExtractDialog::ShowPathFreeSpace(UString & strPath)
|
||||
}
|
||||
|
||||
|
||||
bool CExtractDialog::OnCommand(int code, int itemID, LPARAM lParam)
|
||||
bool CExtractDialog::OnCommand(unsigned code, unsigned itemID, LPARAM lParam)
|
||||
{
|
||||
if (itemID == IDC_EXTRACT_PATH)
|
||||
{
|
||||
#ifdef NO_REGISTRY
|
||||
#ifdef Z7_NO_REGISTRY
|
||||
if (code == EN_CHANGE)
|
||||
#else
|
||||
if (code == CBN_EDITCHANGE)
|
||||
@@ -590,7 +590,7 @@ bool CExtractDialog::OnCommand(int code, int itemID, LPARAM lParam)
|
||||
ShowPathFreeSpace(strPath);
|
||||
return true;
|
||||
}
|
||||
#ifndef NO_REGISTRY
|
||||
#ifndef Z7_NO_REGISTRY
|
||||
else if (code == CBN_SELCHANGE)
|
||||
{
|
||||
int nSel = _path.GetCurSel();
|
||||
|
||||
@@ -61,7 +61,7 @@ class CExtractDialog: public NWindows::NControl::CModalDialog
|
||||
virtual bool OnButtonClicked(unsigned buttonID, HWND buttonHWND) Z7_override;
|
||||
virtual void OnOK() Z7_override;
|
||||
void OnButtonOpenPath();
|
||||
virtual bool OnCommand(int code, int itemID, LPARAM lParam);
|
||||
virtual bool OnCommand(unsigned code, unsigned itemID, LPARAM lParam) Z7_override;
|
||||
|
||||
#ifndef Z7_NO_REGISTRY
|
||||
|
||||
|
||||
Reference in New Issue
Block a user