]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/archive.h
Use wmain() if supported by the compiler/CRT instead of main().
[wxWidgets.git] / include / wx / archive.h
index 67419a91fc2364dc710bb0fe72abf68f9099c8e5..cd8438972dd2a01ae2b114bbc520f0a18486a6b3 100644 (file)
@@ -225,7 +225,7 @@ public:
         if (it.m_rep)
             it.m_rep.AddRef();
         if (m_rep)
         if (it.m_rep)
             it.m_rep.AddRef();
         if (m_rep)
-            m_rep.UnRef();
+            this->m_rep.UnRef();
         m_rep = it.m_rep;
         return *this;
     }
         m_rep = it.m_rep;
         return *this;
     }