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