diff --git a/src/gtk1/bitmap.cpp b/src/gtk1/bitmap.cpp index f2b41e9444..e382abbec1 100644 --- a/src/gtk1/bitmap.cpp +++ b/src/gtk1/bitmap.cpp @@ -10,8 +10,6 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" -#include "wx/defs.h" - #include "wx/bitmap.h" #include "wx/palette.h" #include "wx/icon.h" @@ -291,7 +289,7 @@ bool wxBitmap::Create( int width, int height, int depth ) depth = visual->depth; wxCHECK_MSG( (depth == visual->depth) || (depth == 1) || (depth == 32), false, - wxT("invalid bitmap depth") ) + wxT("invalid bitmap depth") ); m_refData = new wxBitmapRefData(); M_BMPDATA->m_mask = (wxMask *) NULL; diff --git a/src/x11/bitmap.cpp b/src/x11/bitmap.cpp index bf22d84b9d..811f226b93 100644 --- a/src/x11/bitmap.cpp +++ b/src/x11/bitmap.cpp @@ -327,7 +327,7 @@ bool wxBitmap::Create( int width, int height, int depth ) if (depth == -1) depth = bpp; wxCHECK_MSG( (depth == bpp) || - (depth == 1), false, wxT("invalid bitmap depth") ) + (depth == 1), false, wxT("invalid bitmap depth") ); M_BMPDATA->m_mask = (wxMask *) NULL; M_BMPDATA->m_width = width;