]> git.saurik.com Git - wxWidgets.git/commit
Change wxSound ctor from in-memory data to use size_t/void *.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 21 Sep 2011 15:08:02 +0000 (15:08 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 21 Sep 2011 15:08:02 +0000 (15:08 +0000)
commitc559c4b3efb01eceaeeb2a2bbc279cb9367e131c
treeab78a8b664f8eb2eaac831c12bca910f9e01b254
parent7ed24cb652413094e211940d7177d89e9fc805f5
Change wxSound ctor from in-memory data to use size_t/void *.

This constructor previously used int and, especially annoyingly, wxByte* for
the data. Use standard void* for untyped binary data instead.

Also document this ctor as it seems to be implemented in all ports.

Closes #13451.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
14 files changed:
include/wx/cocoa/sound.h
include/wx/msw/sound.h
include/wx/os2/sound.h
include/wx/osx/sound.h
include/wx/palmos/sound.h
include/wx/unix/sound.h
interface/wx/sound.h
src/msw/sound.cpp
src/os2/sound.cpp
src/osx/carbon/sound.cpp
src/osx/core/sound.cpp
src/osx/sound_osx.cpp
src/palmos/sound.cpp
src/unix/sound.cpp