A conflict between the two will cause this code to be misread and mark all your public variables as private. This is really bad because most doxygen outputs hide privates, causing all your functions to vanish, and if they do display, they will be marked as private which is just wrong.
class foo : public CWnd{
DECLARE_DYNCREATE(foo)
public:
...
};
So, it is very important that you add an semicolon [;] after the dyncreate macro:
class foo : public CWnd{
DECLARE_DYNCREATE(foo); //Semicolon added here
public:
...
};
No comments:
Post a Comment