From de73d25e0b27f4bee2de116d19cab32800785d64 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 2 Oct 2015 14:56:07 +0200 Subject: 7.2 --- wx+/image_resources.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'wx+/image_resources.cpp') 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; -- cgit