在自画按钮时,出现lnk2001错误,很烦啊,不知道怎么解决? 
//////
代码:
.....
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEllepticalBtn)
virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
protected:
virtual void PreSubclassWindow();
//}}AFX_VIRTUAL
.......
错误:
Linking...
EllepticalBtn.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CEllepticalBtn::DrawItem(struct tagDRAWITEMSTRUCT *)" (?DrawItem@CEllepticalBtn@@UAEXPAUtagDRAWITEMSTRUCT@@@Z)
EllepticalBtn.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEllepticalBtn::PreSubclassWindow(void)" (?PreSubclassWindow@CEllepticalBtn@@MAEXXZ)
Debug/A3_1.exe : fatal error LNK1120: 2 unresolved externals