]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/archive.h
Added functionality for disabling the vertical scrollbar.
[wxWidgets.git] / include / wx / archive.h
index f814b8f3b8af42648fc44c86336626c97b9aa98a..cd8438972dd2a01ae2b114bbc520f0a18486a6b3 100644 (file)
@@ -225,7 +225,7 @@ public:
         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;
     }
@@ -347,7 +347,7 @@ public:
     wxMBConv& GetConv() const
         { if (m_pConv) return *m_pConv; else return wxConvLocal; }
 
-    static const wxArchiveClassFactory *Find(const wxChar *protocol,
+    static const wxArchiveClassFactory *Find(const wxString& protocol,
                                              wxStreamProtocolType type
                                              = wxSTREAM_PROTOCOL);