mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 09:14:58 -06:00
make it build after mod
This commit is contained in:
@@ -10,6 +10,8 @@
|
|||||||
# pragma clang diagnostic push
|
# pragma clang diagnostic push
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#pragma warning(disable : 4255)
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
|
|
||||||
#pragma warning(push)
|
#pragma warning(push)
|
||||||
@@ -17,7 +19,7 @@
|
|||||||
|
|
||||||
#if _MSC_VER == 1900
|
#if _MSC_VER == 1900
|
||||||
// for old kit10 versions
|
// for old kit10 versions
|
||||||
// #pragma warning(disable : 4255) // winuser.h(13979): warning C4255: 'GetThreadDpiAwarenessContext':
|
#pragma warning(disable : 4255) // winuser.h(13979): warning C4255: 'GetThreadDpiAwarenessContext':
|
||||||
#endif
|
#endif
|
||||||
// win10 Windows Kit:
|
// win10 Windows Kit:
|
||||||
#endif // _MSC_VER
|
#endif // _MSC_VER
|
||||||
|
|||||||
@@ -69,6 +69,8 @@
|
|||||||
#endif
|
#endif
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#pragma warning(disable : 4255)
|
||||||
|
|
||||||
#if _MSC_VER > 1200
|
#if _MSC_VER > 1200
|
||||||
// -Wall warnings
|
// -Wall warnings
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,6 @@
|
|||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
#include "Panel.h"
|
#include "Panel.h"
|
||||||
#include "ViewSettings.h"
|
#include "ViewSettings.h"
|
||||||
#ifdef LANG
|
|
||||||
#include "LangUtils.h"
|
#include "LangUtils.h"
|
||||||
|
|
||||||
using namespace NWindows;
|
using namespace NWindows;
|
||||||
@@ -370,7 +369,7 @@ void CCopyDialog::ShowPathFreeSpace(UString & strPath)
|
|||||||
_freeSpace.SetText(strText);
|
_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)
|
if (itemID == IDC_COPY)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ class CCopyDialog: public NWindows::NControl::CModalDialog
|
|||||||
void OnButtonSetPath();
|
void OnButtonSetPath();
|
||||||
void OnButtonOpenPath();
|
void OnButtonOpenPath();
|
||||||
void OnButtonAddFileName();
|
void OnButtonAddFileName();
|
||||||
bool OnCommand(int code, int itemID, LPARAM lParam);
|
bool OnCommand(unsigned code, unsigned itemID, LPARAM lParam) Z7_override;
|
||||||
bool OnGetMinMaxInfo(PMINMAXINFO pMMI);
|
bool OnGetMinMaxInfo(PMINMAXINFO pMMI);
|
||||||
|
|
||||||
void ShowPathFreeSpace(UString & strPath);
|
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)
|
if (itemID == IDC_EXTRACT_PATH)
|
||||||
{
|
{
|
||||||
#ifdef NO_REGISTRY
|
#ifdef Z7_NO_REGISTRY
|
||||||
if (code == EN_CHANGE)
|
if (code == EN_CHANGE)
|
||||||
#else
|
#else
|
||||||
if (code == CBN_EDITCHANGE)
|
if (code == CBN_EDITCHANGE)
|
||||||
@@ -590,7 +590,7 @@ bool CExtractDialog::OnCommand(int code, int itemID, LPARAM lParam)
|
|||||||
ShowPathFreeSpace(strPath);
|
ShowPathFreeSpace(strPath);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
#ifndef NO_REGISTRY
|
#ifndef Z7_NO_REGISTRY
|
||||||
else if (code == CBN_SELCHANGE)
|
else if (code == CBN_SELCHANGE)
|
||||||
{
|
{
|
||||||
int nSel = _path.GetCurSel();
|
int nSel = _path.GetCurSel();
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ class CExtractDialog: public NWindows::NControl::CModalDialog
|
|||||||
virtual bool OnButtonClicked(unsigned buttonID, HWND buttonHWND) Z7_override;
|
virtual bool OnButtonClicked(unsigned buttonID, HWND buttonHWND) Z7_override;
|
||||||
virtual void OnOK() Z7_override;
|
virtual void OnOK() Z7_override;
|
||||||
void OnButtonOpenPath();
|
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
|
#ifndef Z7_NO_REGISTRY
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user