summaryrefslogtreecommitdiff
path: root/wx+/image_resources.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wx+/image_resources.cpp')
-rw-r--r--wx+/image_resources.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/wx+/image_resources.cpp b/wx+/image_resources.cpp
index 9d4f2396..7383f620 100644
--- a/wx+/image_resources.cpp
+++ b/wx+/image_resources.cpp
@@ -42,10 +42,9 @@ class GlobalResources
public:
static GlobalResources& instance()
{
-#if defined _MSC_VER && _MSC_VER > 1800
-#error remove warning
+#if defined _MSC_VER && _MSC_VER < 1900
+#error function scope static initialization is not yet thread-safe!
#endif
- //caveat: function scope static initialization is not thread-safe in VS 2010! => but we wouldn't use wxWidgets in combination with multithreading anyway!
static GlobalResources inst;
return inst;
}
bgstack15