X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8da116cf66b8f923d321df5d987cc3c93ed0b2b2..86ac84b8ce086e6bbda58f422d41f84268606e35:/include/wx/cocoa/dataobj2.h?ds=sidebyside diff --git a/include/wx/cocoa/dataobj2.h b/include/wx/cocoa/dataobj2.h index 1c5299fe8d..a1d1ea3e25 100644 --- a/include/wx/cocoa/dataobj2.h +++ b/include/wx/cocoa/dataobj2.h @@ -36,7 +36,7 @@ public: virtual bool SetData(size_t len, const void *buf); protected: - void Init() { m_pngData = (void *)NULL; m_pngSize = 0; } + void Init() { m_pngData = NULL; m_pngSize = 0; } void Clear() { free(m_pngData); } void ClearAll() { Clear(); Init(); }