X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..c39058f631b3a53682f00807a60bfff6c5aa2b7c:/include/wx/recguard.h diff --git a/include/wx/recguard.h b/include/wx/recguard.h index 520cc1f050..010637efdb 100644 --- a/include/wx/recguard.h +++ b/include/wx/recguard.h @@ -29,7 +29,7 @@ class WXDLLIMPEXP_BASE wxRecursionGuard public: wxRecursionGuard(wxRecursionGuardFlag& flag) : m_flag(flag) - { + { m_isInside = flag++ != 0; }