]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/rgncmn.cpp
Warning fixes for VC5.
[wxWidgets.git] / src / common / rgncmn.cpp
index b06227cc2426b39d4b4d78f427d545ed01934f57..0732bd75c6c93317048490cdec358ff64cd4b59e 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        rgncmn.cpp
+// Name:        src/common/rgncmn.cpp
 // Purpose:     Methods of wxRegion that have a generic implementation
 // Author:      Robin Dunn
 // Modified by:
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
-#pragma hdrstop
+    #pragma hdrstop
 #endif
 
 #include "wx/region.h"
-#include "wx/bitmap.h"
-#if wxUSE_IMAGE
-#include "wx/image.h"
-#endif
-#include "wx/dcmemory.h"
-
-
-//---------------------------------------------------------------------------
 
+#ifndef WX_PRECOMP
+    #include "wx/dcmemory.h"
+    #include "wx/bitmap.h"
+    #include "wx/image.h"
+#endif //WX_PRECOMP
 
 
 wxBitmap wxRegion::ConvertToBitmap() const
@@ -131,7 +128,7 @@ bool wxRegion::Union(const wxBitmap& bmp,
                          tolerance);
 #else
     return false;
-#endif                         
+#endif
 }
 
 #else
@@ -151,5 +148,3 @@ bool wxRegion::Union(const wxBitmap& WXUNUSED(bmp),
 }
 
 #endif
-
-//---------------------------------------------------------------------------