]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/dataobj2.h
Mention using wxString::c_str() with vararg functions in the change log.
[wxWidgets.git] / include / wx / gtk / dataobj2.h
index 7629027b3320b8db27ad0cfa17b39d464f41d14e..27fb43eb53c7c185df4d6b97c9855fc262e2c330 100644 (file)
@@ -49,7 +49,6 @@ public:
     }
 
 protected:
-    void Init() { m_pngData = NULL; m_pngSize = 0; }
     void Clear() { free(m_pngData); }
     void ClearAll() { Clear(); Init(); }
 
@@ -57,6 +56,9 @@ protected:
     void       *m_pngData;
 
     void DoConvertToPng();
+
+private:
+    void Init() { m_pngData = NULL; m_pngSize = 0; }
 };
 
 // ----------------------------------------------------------------------------