]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/ogl/studio/doc.cpp
To use "#pragma warning" a #ifdef __VISUALC__ guard should be used, not a #ifdef...
[wxWidgets.git] / contrib / samples / ogl / studio / doc.cpp
index a9f21169d48a5e1e87fb0827433d126c863954e2..865a03a1ae005386c97d202940cd3b9d52b19f2c 100644 (file)
@@ -31,7 +31,7 @@
 
 IMPLEMENT_DYNAMIC_CLASS(csDiagramDocument, wxDocument)
 
-#ifdef _MSC_VER
+#ifdef __VISUALC__
 #pragma warning(disable:4355)
 #endif
 
@@ -39,7 +39,7 @@ csDiagramDocument::csDiagramDocument():m_diagram(this)
 {
 }
 
-#ifdef _MSC_VER
+#ifdef __VISUALC__
 #pragma warning(default:4355)
 #endif