WX_DECLARE_LIST usage
Vadim Zeitlin
vadim at wxwindows.org
Mon Oct 2 01:10:17 PDT 2006
On Sun, 01 Oct 2006 20:50:22 -0400 Chad Wagner <chad at chadawagner.com> wrote:
CW> I decided to drill-down into the WX_DEFINE_LIST definition, which I
CW> found does not provide its own semicolon at the end.
I don't see this. In both wxUSE_STL==0 and wxUSE_STL==1 cases there is no
need for a semicolon after this macro AFAICS.
FWIW, I believe -- following K&R -- that there should be semicolons after
the macros but historically wxWidgets doesn't do it this way so none of wx
declaration-like macros need to be followed by semicolon. At least this is
internally consistent.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
More information about the wx-users
mailing list