X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..533bedbf307fd324ebc864ad1b5292977c4fa7bc:/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; }