]> git.saurik.com Git - wxWidgets.git/commit - interface/wx/dataview.h
Make the wxDataViewItem(void*) constructor explicit.
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 10 Aug 2011 15:21:22 +0000 (15:21 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 10 Aug 2011 15:21:22 +0000 (15:21 +0000)
commitd5c4a81f2eb66d49cce640f05e5566681b31befb
treee18d2ea94d65db96a988333531dbb8698ad6fa16
parent3c6cc330820c37adbfa0929b1298911616a03ea7
Make the wxDataViewItem(void*) constructor explicit.

Not having this as an implicit one made it possible to create
wxDataViewItem from any pointer without realizing it, leading to hard to
debug crashes later.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/dataview.h
interface/wx/dataview.h
src/common/datavcmn.cpp
src/generic/datavgen.cpp
src/gtk/dataview.cpp