mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-05 23:14:53 -06:00
make it build after mod
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
# pragma clang diagnostic push
|
||||
#endif
|
||||
|
||||
#pragma warning(disable : 4255)
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
|
||||
#pragma warning(push)
|
||||
@@ -17,7 +19,7 @@
|
||||
|
||||
#if _MSC_VER == 1900
|
||||
// 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
|
||||
// win10 Windows Kit:
|
||||
#endif // _MSC_VER
|
||||
|
||||
@@ -69,6 +69,8 @@
|
||||
#endif
|
||||
*/
|
||||
|
||||
#pragma warning(disable : 4255)
|
||||
|
||||
#if _MSC_VER > 1200
|
||||
// -Wall warnings
|
||||
|
||||
|
||||
@@ -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