]> git.saurik.com Git - wxWidgets.git/commitdiff
To use "#pragma warning" a #ifdef __VISUALC__ guard should be used, not a #ifdef...
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Tue, 13 Jan 2004 02:07:44 +0000 (02:07 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Tue, 13 Jan 2004 02:07:44 +0000 (02:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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