Fixed: Compilation with 64 bits MFC
This commit is contained in:
parent
b9fd49ebc3
commit
8e110a8bb8
18 changed files with 58 additions and 58 deletions
|
@ -96,12 +96,12 @@
|
|||
//#define VMAP_DEBUG 1
|
||||
|
||||
// Forward references
|
||||
BOOL CALLBACK PatchSelectDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
BOOL CALLBACK PatchOpsDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
BOOL CALLBACK PatchObjSurfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
BOOL CALLBACK PatchSurfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
BOOL CALLBACK PatchTileDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
BOOL CALLBACK PatchEdgeDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK PatchSelectDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK PatchOpsDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK PatchObjSurfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK PatchSurfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK PatchTileDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK PatchEdgeDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
|
||||
void ResetVert (PatchMesh *patch);
|
||||
|
||||
|
|
|
@ -96,12 +96,12 @@
|
|||
//#define VMAP_DEBUG 1
|
||||
|
||||
// Forward references
|
||||
BOOL CALLBACK PatchSelectDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
BOOL CALLBACK PatchOpsDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
BOOL CALLBACK PatchObjSurfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
BOOL CALLBACK PatchSurfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
BOOL CALLBACK PatchTileDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
BOOL CALLBACK PatchEdgeDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK PatchSelectDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK PatchOpsDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK PatchObjSurfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK PatchSurfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK PatchTileDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK PatchEdgeDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
|
||||
void ResetVert (PatchMesh *patch);
|
||||
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
|
||||
#define PROMPT_TIME 2000
|
||||
|
||||
BOOL CALLBACK PatchSurfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
BOOL CALLBACK PatchTileDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
BOOL CALLBACK PatchEdgeDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK PatchSurfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK PatchTileDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK PatchEdgeDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
extern void ChangePatchType(PatchMesh *patch, int index, int type);
|
||||
extern BOOL filterVerts;
|
||||
// ------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
|
|
@ -15,7 +15,7 @@ extern int sbmParams[4];
|
|||
extern DWORD sbsParams[3];
|
||||
// ------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
BOOL CALLBACK SelectByMatDlgProc(
|
||||
INT_PTR CALLBACK SelectByMatDlgProc(
|
||||
HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
static int *param;
|
||||
|
@ -84,7 +84,7 @@ void SetSmoothButtonState(HWND hWnd, DWORD bits, DWORD invalid, DWORD unused = 0
|
|||
|
||||
// ------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
BOOL CALLBACK SelectBySmoothDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||
INT_PTR CALLBACK SelectBySmoothDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
static DWORD *param;
|
||||
switch (msg)
|
||||
|
@ -137,9 +137,9 @@ BOOL CALLBACK SelectBySmoothDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM l
|
|||
|
||||
// ------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
BOOL CALLBACK PatchTileDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
INT_PTR CALLBACK PatchTileDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
EditPatchMod *ep =(EditPatchMod *)GetWindowLong(hDlg, GWL_USERDATA);
|
||||
EditPatchMod *ep =(EditPatchMod *)GetWindowLongPtr(hDlg, GWLP_USERDATA);
|
||||
if (!ep && message != WM_INITDIALOG)
|
||||
return FALSE;
|
||||
|
||||
|
@ -150,7 +150,7 @@ BOOL CALLBACK PatchTileDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lP
|
|||
|
||||
ep =(EditPatchMod *)lParam;
|
||||
ep->hTilePanel = hDlg;
|
||||
SetWindowLong(hDlg, GWL_USERDATA, (LONG)ep);
|
||||
SetWindowLongPtr(hDlg, GWLP_USERDATA, (LONG_PTR)ep);
|
||||
ep->tileNum = SetupIntSpinner(hDlg, IDC_TILE_MAT_SPIN, IDC_TILE_MAT, 0, 65535, 0);
|
||||
ep->tileRot = SetupIntSpinner(hDlg, IDC_TILE_ROT_SPIN, IDC_TILE_ROT, 0, 3, 0);
|
||||
ep->SetTileDlgEnables();
|
||||
|
@ -249,9 +249,9 @@ BOOL CALLBACK PatchTileDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lP
|
|||
|
||||
// ------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
BOOL CALLBACK PatchEdgeDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
INT_PTR CALLBACK PatchEdgeDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
EditPatchMod *ep =(EditPatchMod *)GetWindowLong(hDlg, GWL_USERDATA);
|
||||
EditPatchMod *ep =(EditPatchMod *)GetWindowLongPtr(hDlg, GWLP_USERDATA);
|
||||
if (!ep && message != WM_INITDIALOG)
|
||||
return FALSE;
|
||||
|
||||
|
@ -262,7 +262,7 @@ BOOL CALLBACK PatchEdgeDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lP
|
|||
|
||||
ep =(EditPatchMod *)lParam;
|
||||
ep->hEdgePanel = hDlg;
|
||||
SetWindowLong(hDlg, GWL_USERDATA, (LONG)ep);
|
||||
SetWindowLongPtr(hDlg, GWLP_USERDATA, (LONG_PTR)ep);
|
||||
ep->SetEdgeDlgEnables();
|
||||
return TRUE;
|
||||
}
|
||||
|
@ -324,9 +324,9 @@ BOOL CALLBACK PatchEdgeDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lP
|
|||
|
||||
// ------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
BOOL CALLBACK PatchSurfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
INT_PTR CALLBACK PatchSurfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
EditPatchMod *ep =(EditPatchMod *)GetWindowLong(hDlg, GWL_USERDATA);
|
||||
EditPatchMod *ep =(EditPatchMod *)GetWindowLongPtr(hDlg, GWLP_USERDATA);
|
||||
if (!ep && message != WM_INITDIALOG)
|
||||
return FALSE;
|
||||
|
||||
|
@ -339,7 +339,7 @@ BOOL CALLBACK PatchSurfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lP
|
|||
|
||||
for (int i = IDC_SMOOTH_GRP1; i < IDC_SMOOTH_GRP1 + 32; i++)
|
||||
SendMessage(GetDlgItem(hDlg, i), CC_COMMAND, CC_CMD_SET_TYPE, CBT_CHECK);
|
||||
SetWindowLong(hDlg, GWL_USERDATA, (LONG)ep);
|
||||
SetWindowLongPtr(hDlg, GWLP_USERDATA, (LONG_PTR)ep);
|
||||
ep->matSpin = SetupIntSpinner(hDlg, IDC_MAT_IDSPIN, IDC_MAT_ID, 1, MAX_MATID, 0);
|
||||
ep->tessUSpin = SetupIntSpinner(hDlg, IDC_TESS_U_SPIN, IDC_TESS_U2, 1, 4, RPO_DEFAULT_TESSEL);
|
||||
ep->tessVSpin = SetupIntSpinner(hDlg, IDC_TESS_V_SPIN, IDC_TESS_V2, 1, 4, RPO_DEFAULT_TESSEL);
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#define PROMPT_TIME 2000
|
||||
|
||||
extern AdvParams sParams;
|
||||
BOOL CALLBACK AdvParametersDialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK AdvParametersDialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
||||
|
||||
// ------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
@ -210,9 +210,9 @@ void EditPatchMod::SetTessUI(HWND hDlg, TessApprox *tess)
|
|||
|
||||
// ------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
BOOL CALLBACK PatchObjSurfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
INT_PTR CALLBACK PatchObjSurfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
EditPatchMod *ep =(EditPatchMod *)GetWindowLong(hDlg, GWL_USERDATA);
|
||||
EditPatchMod *ep =(EditPatchMod *)GetWindowLongPtr(hDlg, GWLP_USERDATA);
|
||||
if (!ep && message != WM_INITDIALOG)
|
||||
return FALSE;
|
||||
|
||||
|
@ -223,7 +223,7 @@ BOOL CALLBACK PatchObjSurfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM
|
|||
|
||||
ep =(EditPatchMod *)lParam;
|
||||
ep->hSurfPanel = hDlg;
|
||||
SetWindowLong(hDlg, GWL_USERDATA, (LONG)ep);
|
||||
SetWindowLongPtr(hDlg, GWLP_USERDATA, (LONG_PTR)ep);
|
||||
if (!ep->settingViewportTess && ep->settingDisp && ep->GetProdTess().type == TESS_SET)
|
||||
ep->settingDisp = FALSE;
|
||||
TessApprox t;
|
||||
|
@ -599,7 +599,7 @@ static ISpinnerControl* psMaxTrisSpin = NULL;
|
|||
// this max matches the MI max.
|
||||
#define MAX_SUBDIV 7
|
||||
static BOOL initing = FALSE; // this is a hack but CenterWindow causes bad commands
|
||||
BOOL CALLBACK
|
||||
INT_PTR CALLBACK
|
||||
AdvParametersDialogProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
switch (uMsg)
|
||||
|
|
|
@ -264,7 +264,7 @@ void EditPatchMod::NewSetByOperator(TSTR &newName, Tab < int> &sets, int op)
|
|||
|
||||
// Named selection set copy/paste methods follow...
|
||||
|
||||
static BOOL CALLBACK PickSetNameDlgProc(
|
||||
static INT_PTR CALLBACK PickSetNameDlgProc(
|
||||
HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
static TSTR *name;
|
||||
|
@ -328,7 +328,7 @@ BOOL EditPatchMod::GetUniqueSetName(TSTR &name)
|
|||
|
||||
|
||||
|
||||
static BOOL CALLBACK PickSetDlgProc(
|
||||
static INT_PTR CALLBACK PickSetDlgProc(
|
||||
HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
switch (msg)
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
|
||||
#define PROMPT_TIME 2000
|
||||
|
||||
BOOL CALLBACK PatchSelectDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
BOOL CALLBACK PatchOpsDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
BOOL CALLBACK PatchObjSurfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
BOOL CALLBACK PatchSurfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
BOOL CALLBACK PatchTileDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
BOOL CALLBACK PatchEdgeDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK PatchSelectDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK PatchOpsDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK PatchObjSurfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK PatchSurfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK PatchTileDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK PatchEdgeDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
|
||||
extern void CancelEditPatchModes(IObjParam *ip);
|
||||
|
||||
|
|
|
@ -33,10 +33,10 @@ extern void CancelEditPatchModes(IObjParam *ip);
|
|||
|
||||
extern void LoadImages();
|
||||
|
||||
BOOL CALLBACK PatchSelectDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
INT_PTR CALLBACK PatchSelectDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
static char string[64];
|
||||
EditPatchMod *ep =(EditPatchMod *)GetWindowLong(hDlg, GWL_USERDATA);
|
||||
EditPatchMod *ep =(EditPatchMod *)GetWindowLongPtr(hDlg, GWLP_USERDATA);
|
||||
ICustToolbar *iToolbar;
|
||||
if (!ep && message != WM_INITDIALOG)
|
||||
return FALSE;
|
||||
|
@ -104,7 +104,7 @@ BOOL CALLBACK PatchSelectDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM
|
|||
|
||||
ep =(EditPatchMod *)lParam;
|
||||
ep->hSelectPanel = hDlg;
|
||||
SetWindowLong(hDlg, GWL_USERDATA, (LONG)ep);
|
||||
SetWindowLongPtr(hDlg, GWLP_USERDATA, (LONG_PTR)ep);
|
||||
// Set up the editing level selector
|
||||
LoadImages();
|
||||
iToolbar = GetICustToolbar(GetDlgItem(hDlg, IDC_SELTYPE));
|
||||
|
@ -349,9 +349,9 @@ void EditPatchMod::SetOpsDlgEnables()
|
|||
|
||||
// ------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
BOOL CALLBACK PatchOpsDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
INT_PTR CALLBACK PatchOpsDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
EditPatchMod *ep =(EditPatchMod *)GetWindowLong(hDlg, GWL_USERDATA);
|
||||
EditPatchMod *ep =(EditPatchMod *)GetWindowLongPtr(hDlg, GWLP_USERDATA);
|
||||
if (!ep && message != WM_INITDIALOG)
|
||||
return FALSE;
|
||||
|
||||
|
@ -367,7 +367,7 @@ BOOL CALLBACK PatchOpsDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lPa
|
|||
ep->hOpsPanel = hDlg;
|
||||
for (int i = IDC_SMOOTH_GRP1; i < IDC_SMOOTH_GRP1 + 32; i++)
|
||||
SendMessage(GetDlgItem(hDlg, i), CC_COMMAND, CC_CMD_SET_TYPE, CBT_CHECK);
|
||||
SetWindowLong(hDlg, GWL_USERDATA, (LONG)ep);
|
||||
SetWindowLongPtr(hDlg, GWLP_USERDATA, (LONG_PTR)ep);
|
||||
ICustButton *but = GetICustButton(GetDlgItem(hDlg, IDC_ATTACH));
|
||||
but->SetHighlightColor(GREEN_WASH);
|
||||
but->SetType(CBT_CHECK);
|
||||
|
|
|
@ -50,7 +50,7 @@ EPTempData::EPTempData(EditPatchMod *m,EditPatchData *pd)
|
|||
mod = m;
|
||||
}
|
||||
|
||||
void EPTempData::Invalidate(DWORD part,BOOL patchValid)
|
||||
void EPTempData::Invalidate(PartID part,BOOL patchValid)
|
||||
{
|
||||
if ( !patchValid )
|
||||
{
|
||||
|
|
|
@ -225,11 +225,11 @@ __declspec( dllexport ) ULONG CanAutoDefer()
|
|||
BOOL CALLBACK DefaultSOTProc(
|
||||
HWND hWnd,UINT msg,WPARAM wParam,LPARAM lParam)
|
||||
{
|
||||
IObjParam *ip = (IObjParam*)GetWindowLong(hWnd,GWL_USERDATA);
|
||||
IObjParam *ip = (IObjParam*)GetWindowLongPtr(hWnd,GWLP_USERDATA);
|
||||
|
||||
switch (msg) {
|
||||
case WM_INITDIALOG:
|
||||
SetWindowLong(hWnd,GWL_USERDATA,lParam);
|
||||
SetWindowLongPtr(hWnd,GWLP_USERDATA,lParam);
|
||||
break;
|
||||
|
||||
case WM_LBUTTONDOWN:
|
||||
|
|
|
@ -27,8 +27,8 @@ using namespace NLMISC;
|
|||
|
||||
#pragma warning (disable : 4786)
|
||||
|
||||
BOOL CALLBACK EnumResLangProc(HINSTANCE hModule, LPCTSTR lpszType, LPCTSTR lpszName, WORD wIDLanguage,
|
||||
LONG lParam)
|
||||
BOOL CALLBACK EnumResLangProc(HMODULE hModule, LPCSTR lpszType, LPCSTR lpszName, WORD wIDLanguage,
|
||||
LONG_PTR lParam)
|
||||
{
|
||||
set<HRSRC> *iconNames = (set<HRSRC>*)lParam;
|
||||
|
||||
|
|
|
@ -186,7 +186,7 @@ void CSoundDialog::setPlaying(bool play)
|
|||
|
||||
// ***************************************************************************
|
||||
|
||||
void CSoundDialog::OnTimer(UINT id)
|
||||
void CSoundDialog::OnTimer(UINT_PTR id)
|
||||
{
|
||||
AFX_MANAGE_STATE(AfxGetStaticModuleState());
|
||||
updateTime();
|
||||
|
|
|
@ -126,7 +126,7 @@ private:
|
|||
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CSoundDialog)
|
||||
afx_msg void OnTimer(UINT id);
|
||||
afx_msg void OnTimer(UINT_PTR id);
|
||||
afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
|
||||
afx_msg void OnControlPlayback();
|
||||
afx_msg void OnZoom(NMHDR* pNMHDR, LRESULT* pResult);
|
||||
|
|
|
@ -51,7 +51,7 @@ END_MESSAGE_MAP()
|
|||
|
||||
// ***************************************************************************
|
||||
|
||||
int CFileDialogEx::DoModal ()
|
||||
INT_PTR CFileDialogEx::DoModal ()
|
||||
{
|
||||
// Get the path
|
||||
char path[512];
|
||||
|
|
|
@ -41,7 +41,7 @@ public:
|
|||
LPCTSTR lpszFilter = NULL,
|
||||
CWnd* pParentWnd = NULL);
|
||||
|
||||
virtual int DoModal( );
|
||||
virtual INT_PTR DoModal( );
|
||||
|
||||
virtual BOOL OnCommand( WPARAM wParam, LPARAM lParam );
|
||||
|
||||
|
|
|
@ -27,8 +27,8 @@ using namespace NLMISC;
|
|||
|
||||
#pragma warning (disable : 4786)
|
||||
|
||||
BOOL CALLBACK EnumResLangProc(HINSTANCE hModule, LPCTSTR lpszType, LPCTSTR lpszName, WORD wIDLanguage,
|
||||
LONG lParam)
|
||||
BOOL CALLBACK EnumResLangProc(HMODULE hModule, LPCSTR lpszType, LPCSTR lpszName, WORD wIDLanguage,
|
||||
LONG_PTR lParam)
|
||||
{
|
||||
set<HRSRC> *iconNames = (set<HRSRC>*)lParam;
|
||||
|
||||
|
|
|
@ -3304,7 +3304,7 @@ void CMainFrame::OnUpdateEditSelectChildren(CCmdUI* pCmdUI)
|
|||
|
||||
// ***************************************************************************
|
||||
|
||||
void CMainFrame::OnTimer(UINT nIDEvent)
|
||||
void CMainFrame::OnTimer(UINT_PTR nIDEvent)
|
||||
{
|
||||
if (nIDEvent == TIMER_UPDATE_FILES)
|
||||
{
|
||||
|
|
|
@ -470,7 +470,7 @@ public:
|
|||
afx_msg void OnUpdateEditCollapse(CCmdUI* pCmdUI);
|
||||
afx_msg void OnEditSelectChildren();
|
||||
afx_msg void OnUpdateEditSelectChildren(CCmdUI* pCmdUI);
|
||||
afx_msg void OnTimer(UINT nIDEvent);
|
||||
afx_msg void OnTimer(UINT_PTR nIDEvent);
|
||||
afx_msg void OnEditExpand ();
|
||||
afx_msg void OnEditCollapse ();
|
||||
afx_msg void OnHelpFinder();
|
||||
|
|
Loading…
Reference in a new issue