]> git.saurik.com Git - wxWidgets.git/commit - src/html/helpwnd.cpp
Take void** client data in wxSingleChoiceDialog ctor and not char**.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 5 Feb 2012 14:18:33 +0000 (14:18 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 5 Feb 2012 14:18:33 +0000 (14:18 +0000)
commitfc12b1f12a26bfa569bbfe2af10af3e5352b6fd4
treeff502ef7688cf0e753a4e2bf9ccb7186db6d4744
parent0c6dff03708fdc2d310f412cbc3cb7b705bc943e
Take void** client data in wxSingleChoiceDialog ctor and not char**.

The client data is supposed to be untyped, there is really no reason (other
than compatibility with C conventions of 40 years ago) to use char** here.
So don't do it and provide the versions taking "void**" keeping "char**" ones
for backwards compatibility only.

Also deprecate GetSelectionClientData() that returned char* and add a new
GetSelectionData() returning void* instead.

Closes #13876.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/generic/choicdgg.h
interface/wx/choicdlg.h
src/generic/choicdgg.cpp
src/html/helpwnd.cpp