Compile fix for dynarray,
Use wxStreams in dialoged, Small typo in wxApp::OnIdle() Distrib things, wxPython makefile corrections (libpy.c and libptr.c missing) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -174,9 +174,11 @@ class WXDLLEXPORT name : public wxBaseArray \
|
||||
{ \
|
||||
public: \
|
||||
name() \
|
||||
{ size_t type = sizeof(T); \
|
||||
{ \
|
||||
size_t type = sizeof(T); \
|
||||
size_t sizelong = sizeof(long); \
|
||||
wxASSERT( type <= sizelong ); \
|
||||
if ( type <= sizelong ) \
|
||||
{ wxFAIL_MSG( _T("illegal use of DEFINE_ARRAY") ); } \
|
||||
} \
|
||||
\
|
||||
name& operator=(const name& src) \
|
||||
@@ -237,7 +239,8 @@ public: \
|
||||
name(SCMPFUNC##T fn) \
|
||||
{ size_t type = sizeof(T); \
|
||||
size_t sizelong = sizeof(long); \
|
||||
wxASSERT( type <= sizelong ); \
|
||||
if ( type <= sizelong ) \
|
||||
{ wxFAIL_MSG( _T("illegal use of DEFINE_ARRAY") ); } \
|
||||
m_fnCompare = fn; \
|
||||
} \
|
||||
\
|
||||
|
Reference in New Issue
Block a user