backport changes for D Mars

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott
2003-08-14 11:48:37 +00:00
parent 99654c4ef6
commit 809a1985f7
16 changed files with 249 additions and 80 deletions

View File

@@ -135,7 +135,7 @@ private:
{ \
wxLogRelease(_T(#classname), m_cRef); \
\
if ( --m_cRef == 0 ) { \
if ( --m_cRef == wxAutoULong(0) ) { \
delete this; \
return 0; \
} \