X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..690981ec8436ff3f4ac6649f7e54d004a78e820b:/include/wx/recguard.h?ds=sidebyside 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; }