]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/buffer.h
added wxString::Clone() and made wxString(wxCStrData) ctor make deep copy too
[wxWidgets.git] / interface / buffer.h
index e8755cbd3d87712849eed27d61c7319f869c675d..6de1c83f15208e84aa7c62c5d46effcaada2eb69 100644 (file)
@@ -60,17 +60,17 @@ public:
     /**
         Returns the size of the buffer.
     */
-    size_t GetBufSize();
+    size_t GetBufSize() const;
 
     /**
         Return a pointer to the data in the buffer.
     */
-    void* GetData();
+    void* GetData() const;
 
     /**
         Returns the length of the valid data in the buffer.
     */
-    size_t GetDataLen();
+    size_t GetDataLen() const;
 
     /**
         Ensure the buffer is big enough and return a pointer to the