X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..b736d59eb531794e6b1cef2b4997c517569ff0dd:/include/wx/recguard.h diff --git a/include/wx/recguard.h b/include/wx/recguard.h index 520cc1f050..d7775b995b 100644 --- a/include/wx/recguard.h +++ b/include/wx/recguard.h @@ -4,7 +4,6 @@ // Author: Vadim Zeitlin // Modified by: // Created: 14.08.2003 -// RCS-ID: $Id$ // Copyright: (c) 2003 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -29,13 +28,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--; }