X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7b4d7f99a60c095ecd28a3e72d48241abe9f7fdb..eebb8902d970787df1e70b83e011ce051ebead21:/include/wx/recguard.h?ds=sidebyside diff --git a/include/wx/recguard.h b/include/wx/recguard.h index ea4e4995db..3b7fe8e90d 100644 --- a/include/wx/recguard.h +++ b/include/wx/recguard.h @@ -5,7 +5,7 @@ // Modified by: // Created: 14.08.2003 // RCS-ID: $Id$ -// Copyright: (c) 2003 Vadim Zeitlin +// Copyright: (c) 2003 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -29,13 +29,13 @@ class WXDLLIMPEXP_BASE wxRecursionGuard public: wxRecursionGuard(wxRecursionGuardFlag& flag) : m_flag(flag) - { + { m_isInside = flag++ != 0; } ~wxRecursionGuard() { - wxASSERT_MSG( m_flag > 0, _T("unbalanced wxRecursionGuards!?") ); + wxASSERT_MSG( m_flag > 0, wxT("unbalanced wxRecursionGuards!?") ); m_flag--; }