added semicolons after wxCHECK()s (part of patch 1450705)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -298,7 +298,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;
|
||||
@@ -328,7 +328,7 @@ bool wxBitmap::CreateFromXpm( const char **bits )
|
||||
{
|
||||
UnRef();
|
||||
|
||||
wxCHECK_MSG( bits != NULL, false, wxT("invalid bitmap data") )
|
||||
wxCHECK_MSG( bits != NULL, false, wxT("invalid bitmap data") );
|
||||
|
||||
GdkVisual *visual = wxTheApp->GetGdkVisual();
|
||||
|
||||
@@ -557,8 +557,8 @@ bool wxBitmap::CreateFromImage(const wxImage& image, int depth)
|
||||
{
|
||||
UnRef();
|
||||
|
||||
wxCHECK_MSG( image.Ok(), false, wxT("invalid image") )
|
||||
wxCHECK_MSG( depth == -1 || depth == 1, false, wxT("invalid bitmap depth") )
|
||||
wxCHECK_MSG( image.Ok(), false, wxT("invalid image") );
|
||||
wxCHECK_MSG( depth == -1 || depth == 1, false, wxT("invalid bitmap depth") );
|
||||
|
||||
if (image.GetWidth() <= 0 || image.GetHeight() <= 0)
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user