]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/dataobj2.h
extract event handler body in a separate function instead of using a hack to call...
[wxWidgets.git] / include / wx / gtk1 / dataobj2.h
index 8f0e07fe7c47821e91a2463d1a8c2edce4f787df..74cfa033899e3ed5b8023d1face86fa0365b3d90 100644 (file)
@@ -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(); }