typedef void (*wxTlsDestructorFunction)(void*);
}
- #if defined(__WXMSW__)
+ #if defined(__WINDOWS__)
#include "wx/msw/tls.h"
#elif defined(__OS2__)
#include "wx/os2/tls.h"
};
#define wxTLS_TYPE(T) wxTlsValue<T>
- #define wxTLS_PTR(var) (var)
+ #define wxTLS_PTR(var) ((var).Get())
#define wxTLS_VALUE(var) (*(var))
#endif // wxHAS_COMPILER_TLS/!wxHAS_COMPILER_TLS