Distrib things,

Typos in dynarray.h,
  Removed C++ comments from code,
  Added a few #ifdef wxUSE_XXX


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-08-06 10:10:10 +00:00
parent 22d6efa851
commit d422d01eec
9 changed files with 74 additions and 18 deletions

View File

@@ -177,7 +177,7 @@ public: \
{ \
size_t type = sizeof(T); \
size_t sizelong = sizeof(long); \
if ( type <= sizelong ) \
if ( type > sizelong ) \
{ wxFAIL_MSG( _T("illegal use of DEFINE_ARRAY") ); } \
} \
\
@@ -239,7 +239,7 @@ public: \
name(SCMPFUNC##T fn) \
{ size_t type = sizeof(T); \
size_t sizelong = sizeof(long); \
if ( type <= sizelong ) \
if ( type > sizelong ) \
{ wxFAIL_MSG( _T("illegal use of DEFINE_ARRAY") ); } \
m_fnCompare = fn; \
} \