Semicolon needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user