]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/list.h
made wxHeaderColumnBase dtor virtual to avoid gcc warnings
[wxWidgets.git] / include / wx / list.h
index a93d2eca931a2ebdd600a46c5ce0ea9093688bab..5f9b4d1fa0e25404f6cefb1c57c42325a62f39e0 100644 (file)
@@ -457,7 +457,7 @@ protected:
     virtual void DeleteData() { }
 public:
     // for wxList::iterator
-    void** GetDataPtr() const { return &(wx_const_cast(wxNodeBase*, this)->m_data); }
+    void** GetDataPtr() const { return &(const_cast<wxNodeBase*>(this)->m_data); }
 private:
     // optional key stuff
     wxListKeyValue m_key;