diff --git a/src/common/bmpbase.cpp b/src/common/bmpbase.cpp index 9d9d41ae9f..c5bb35eea0 100644 --- a/src/common/bmpbase.cpp +++ b/src/common/bmpbase.cpp @@ -19,11 +19,12 @@ // wxBitmapBase // ---------------------------------------------------------------------------- -#if wxUSE_BITMAP_BASE - #include "wx/bitmap.h" +#if wxUSE_BITMAP_BASE + #ifndef WX_PRECOMP + #include "wx/colour.h" #include "wx/log.h" #include "wx/utils.h" #include "wx/palette.h" @@ -159,4 +160,3 @@ bool wxMaskBase::Create(const wxBitmap& bitmap) return InitFromMonoBitmap(bitmap); } -