Add wxWindowBase::CopyToolTip() method.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Oct 2011 11:28:45 +0000 (11:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Oct 2011 11:28:45 +0000 (11:28 +0000)
commit2039dd917c2aaaed6ddd4bd904b31a648c96fb10
treea34e058a8592ab4454d458e3483186d0b4d441b5
parenta166dbbab57ac04eedebef727ab5a66dfacc41de
Add wxWindowBase::CopyToolTip() method.

This method simply sets the same tooltip for the window but making copy of,
instead of taking ownership of, the wxToolTip passed in.

It's not especially useful on its own but is needed by wxCompositeWindow and
might be handy elsewhere.

See #13523.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/window.h
src/common/wincmn.cpp