Hellp about wiki system

04/13/2017 01:19 pedala1#1
I got this error:
Error 515 error C2039: 'GetSelectedItemData' : is not a member of 'CWndComboBox'
04/13/2017 01:30 Lumi#2
Have you defined GetSelectedItemData in your header file?
04/13/2017 01:55 pedala1#3
The method (DWORD CWndComboBox :: GetSelectedItemData) is inside #ifdef __IMPROVE_MAP_SYSTEM, however other sources did not need to put on header file. Can I use the GetCurSel method in this case?
Line with error:
Code:
DWORD dwJob = m_pComboJob->GetSelectedItemData();
DWORD dwFilter = m_pComboKind->GetSelectedItemData();
header file:
Code:
class CWndWiki : public CWndNeuz
{
private:
	CWndWikiCreate *m_pCreate;
	vector<ItemProp*> m_vecItems;
	CWndListBox *m_pListItems;
	CWndComboBox *m_pComboKind;
	CWndComboBox *m_pComboJob;