]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/rawbmp.h
support not-quite-owner-drawn mode when we draw only the bitmap and the system takes...
[wxWidgets.git] / include / wx / rawbmp.h
index 43e20ab6ede42c9d5147fd996b375345a668a55a..8901f1b2f3ed3fe95f5cb3880c06a776f996f88d 100644 (file)
@@ -73,6 +73,7 @@
 
 #ifdef __VISUALC__
     // VC++ gives an absolutely harmless warning for wxPixelData<wxBitmap> ctor
+    #pragma warning(push)
     #pragma warning(disable: 4355) // 'this' used in initializer list
 #endif
 
@@ -717,8 +718,7 @@ struct wxPixelIterator : wxPixelData<Image, PixelFormat>::Iterator
 };
 
 #ifdef __VISUALC__
-    #pragma warning(default: 4355)
-    #pragma warning(default: 4097)
+    #pragma warning(pop)
 #endif
 
 #endif // _WX_RAWBMP_H_BASE_