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:
@@ -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; \
|
||||
} \
|
||||
|
Reference in New Issue
Block a user