]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/docview.h
Fix compilation for wxUSE_LOG==0.
[wxWidgets.git] / include / wx / docview.h
index 0ac6cdcb3e4d931037a17c7c9100a1fde3d7bcba..b8bb1f31c9a4a20498acd6018dd5bb93e7a15961 100644 (file)
@@ -695,6 +695,7 @@ private:
     // for dll-interface class 'wxDocChildFrame'" -- this is bogus as the
     // template will be DLL-exported but only once it is used as base class
     // here!
+    #pragma warning (push)
     #pragma warning (disable:4275)
 #endif
 
@@ -744,7 +745,7 @@ private:
 };
 
 #ifdef __VISUALC6__
-    #pragma warning (default:4275)
+    #pragma warning (pop)
 #endif
 
 // ----------------------------------------------------------------------------