]> git.saurik.com Git - wxWidgets.git/commit - include/wx/ctrlsub.h
Add wxItemContainer::DetachClientObject() and use it in wxRearrangeList.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 22 Jul 2010 12:09:15 +0000 (12:09 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 22 Jul 2010 12:09:15 +0000 (12:09 +0000)
commitab9893576c877f5691023315c23c8348d9d6affd
tree753e7e1d72ce99798a8f9236f5fd362736ec9167
parent9b481f66e52fe63acb5112080fbad0c026861b33
Add wxItemContainer::DetachClientObject() and use it in wxRearrangeList.

Add a method to detach the item from an item control without deleting it and
use it in wxRearrangeList to correctly swap object client data without
deleting the pointers in the process.

Closes #12201.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/ctrlsub.h
interface/wx/ctrlsub.h
src/common/ctrlsub.cpp
src/common/rearrangectrl.cpp