diff options
Diffstat (limited to 'wx+/image_resources.cpp')
-rw-r--r-- | wx+/image_resources.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wx+/image_resources.cpp b/wx+/image_resources.cpp index 3a7ba3ee..9d4f2396 100644 --- a/wx+/image_resources.cpp +++ b/wx+/image_resources.cpp @@ -42,6 +42,9 @@ class GlobalResources public: static GlobalResources& instance() { +#if defined _MSC_VER && _MSC_VER > 1800 +#error remove warning +#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; |