Fix wxTlsValue<> memory leaks.
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 8 Mar 2010 12:21:58 +0000 (12:21 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 8 Mar 2010 12:21:58 +0000 (12:21 +0000)
commit49e714e127fb21392772f0f61bed7efe5e73cf2a
tree484c18b96d7f762626a51bc9b8295904afa2c10e
parenta765eef35fa0b614948b16de469b799acdc91319
Fix wxTlsValue<> memory leaks.

Win32 API doesn't provide pthreads-like destructors, so we need to
emulate them to free per-thread allocated memory.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/msw/tls.h
include/wx/os2/tls.h
include/wx/tls.h
include/wx/unix/tls.h