Correct wxTLS_PTR definition for !wxHAS_COMPILER_TLS case.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 27 Nov 2011 19:50:01 +0000 (19:50 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 27 Nov 2011 19:50:01 +0000 (19:50 +0000)
commite76e89aabe37dce8a72165349d90d1fad8488da0
tree7754e94a61ef1c49d4fdaca187452a2538255004
parent2d5779d44094cf386fce5cea2d7eb2ce4c5467f7
Correct wxTLS_PTR definition for !wxHAS_COMPILER_TLS case.

wxTLS_PTR should have type of "T*" instead of being simply usable as "T*"
because of its overloaded operator->(), otherwise the code relying on it being
"T*" and compiling without problems in wxHAS_COMPILER_TLS case could fail to
compile without compiler TLS support.

Closes #13644.

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