]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/buffer.h
added template wxScopedArray<> too
[wxWidgets.git] / include / wx / buffer.h
index 231c8d185f1fe4c95907e914236827fa322d37dd..4cc340aa518fa7248e26b58781b93958a3596c5a 100644 (file)
@@ -179,10 +179,10 @@ public:
 
 private:
     // reference-counted data
-    struct Data : wxPrivate::UntypedBufferData
+    struct Data : public wxPrivate::UntypedBufferData
     {
         Data(CharType *str, Kind kind = Owned)
-            : UntypedBufferData(str, kind)
+            : wxPrivate::UntypedBufferData(str, kind)
         {
         }