]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/dataobj2.h
don't draw borders for bitmap buttons with wxBORDER_NONE style
[wxWidgets.git] / include / wx / cocoa / dataobj2.h
index 1c5299fe8d8857682220a96dd42057d5e41d6016..a1d1ea3e25d30b3299055817f87600b4417f43ea 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(); }