[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

'void DDX_Control(CDataExchange *,int,CWnd &)': cannot convert argument 3 from 'CLinkControl' to 'CW

From: Sara M <smorsi27_at_gmail.com>
Date: Tue, 19 Jan 2016 09:41:50 -0800 (PST)

So, I'm trying to integrate a new feature to TortoiseSVN and I come across this error repeatedly:

"'void DDX_Control(CDataExchange *,int,CWnd &)': cannot convert argument 3 from 'CLinkControl' to 'CWnd &' "

Where DDX_Control is defined as:

void AFXAPI DDX_Control(CDataExchange* pDX, int nIDC, CWnd& rControl);

and in CommitDlg.cpp I have:

DDX_Control(pDX, IDC_CHECKALL, m_CheckAll);
    DDX_Control(pDX, IDC_CHECKNONE, m_CheckNone);
    DDX_Control(pDX, IDC_CHECKUNVERSIONED, m_CheckUnversioned);
    DDX_Control(pDX, IDC_CHECKVERSIONED, m_CheckVersioned);
    DDX_Control(pDX, IDC_CHECKADDED, m_CheckAdded);
    DDX_Control(pDX, IDC_CHECKDELETED, m_CheckDeleted);
    DDX_Control(pDX, IDC_CHECKMODIFIED, m_CheckModified);
    DDX_Control(pDX, IDC_CHECKFILES, m_CheckFiles);
    DDX_Control(pDX, IDC_CHECKDIRECTORIES, m_CheckDirectories);

Where

 CLinkControl m_CheckAll;
    CLinkControl m_CheckNone;
    CLinkControl m_CheckUnversioned;
    CLinkControl m_CheckVersioned;
    CLinkControl m_CheckAdded;
    CLinkControl m_CheckDeleted;
    CLinkControl m_CheckModified;
    CLinkControl m_CheckFiles;
    CLinkControl m_CheckDirectories;

Should I change the type to CWnd instead of CLinkControl? Is that an appropriate change or should something else be done to resolve the issue?

Thanks!

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3156216

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-01-19 23:45:27 CET

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.