X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c56fd7a30423f266f006f549bf585925e1b0131d..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/gtk/dataobj2.h?ds=sidebyside diff --git a/include/wx/gtk/dataobj2.h b/include/wx/gtk/dataobj2.h index 7629027b33..27fb43eb53 100644 --- a/include/wx/gtk/dataobj2.h +++ b/include/wx/gtk/dataobj2.h @@ -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; } }; // ----------------------------------------------------------------------------