X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2c5c9c27def1b8fa76fcec01e6c89e719ac13653..975dc6910e8169e8a996b51de6b16f5cd3ed10a4:/include/wx/tls.h diff --git a/include/wx/tls.h b/include/wx/tls.h index f91368d503..996fa251dd 100644 --- a/include/wx/tls.h +++ b/include/wx/tls.h @@ -132,7 +132,7 @@ }; #define wxTLS_TYPE(T) wxTlsValue - #define wxTLS_PTR(var) (var) + #define wxTLS_PTR(var) ((var).Get()) #define wxTLS_VALUE(var) (*(var)) #endif // wxHAS_COMPILER_TLS/!wxHAS_COMPILER_TLS