'void DDX_Control(CDataExchange *,int,CWnd &)': cannot convert argument 3 from 'CLinkControl' to 'CW
Sara M <[email protected]>
| Newsgroups | gmane.comp.version-control.subversion.tortoisesvn.devel |
|---|---|
| Message-ID | <987935045.5835.1453225310524.JavaMail.httpd@localhost> |
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: [[email protected]].