minor polishing of user-visible messages

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2004-08-16 11:32:51 +00:00
parent b039ef1d48
commit bc88f66f5f

View File

@ -897,7 +897,7 @@ bool wxImage::SetMaskFromImage(const wxImage& mask,
// check that the images are the same size // check that the images are the same size
if ( (M_IMGDATA->m_height != mask.GetHeight() ) || (M_IMGDATA->m_width != mask.GetWidth () ) ) if ( (M_IMGDATA->m_height != mask.GetHeight() ) || (M_IMGDATA->m_width != mask.GetWidth () ) )
{ {
wxLogError( _("Image and Mask have different sizes") ); wxLogError( _("Image and mask have different sizes.") );
return false; return false;
} }
@ -905,7 +905,7 @@ bool wxImage::SetMaskFromImage(const wxImage& mask,
unsigned char r,g,b ; unsigned char r,g,b ;
if (!FindFirstUnusedColour(&r, &g, &b)) if (!FindFirstUnusedColour(&r, &g, &b))
{ {
wxLogError( _("No Unused Color in image being masked") ); wxLogError( _("No unused colour in image being masked.") );
return false ; return false ;
} }
@ -1496,7 +1496,7 @@ wxImageHistogram::FindFirstUnusedColour(unsigned char *r,
b2++; b2++;
if ( b2 >= 255 ) if ( b2 >= 255 )
{ {
wxLogError(_("GetUnusedColour:: No Unused Color in image ") ); wxLogError(_("No unused colour in image.") );
return false; return false;
} }
} }