String changes for translations,

Made wxBitmap derive from wxGDIObject,
  Removed #ifdefs around destrctors for GDI lists (wxBrushList etc),
  Created wxEVT_COMMAND_SPINCTRL_UPDATE with obvious usage.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-12-04 10:37:39 +00:00
parent 4f72fe4f1a
commit 58c837a4e6
39 changed files with 262 additions and 317 deletions

View File

@@ -229,7 +229,7 @@ bool wxPCXHandler::LoadFile( wxImage *image, wxInputStream& stream, bool verbose
if (!CanRead(stream))
{
if (verbose)
wxLogError(wxT("wxPCXHandler: this is not a PCX file"));
wxLogError(_("PCX: this is not a PCX file."));
return FALSE;
}
@@ -242,10 +242,10 @@ bool wxPCXHandler::LoadFile( wxImage *image, wxInputStream& stream, bool verbose
{
switch (error)
{
case E_FORMATO: wxLogError(wxT("wxPCXHandler: image format unsupported")); break;
case E_MEMORIA: wxLogError(wxT("wxPCXHandler: couldn't allocate memory")); break;
case E_VERSION: wxLogError(wxT("wxPCXHandler: version number too low")); break;
default: wxLogError(wxT("wxPCXHandler: unknown error !!!"));
case E_FORMATO: wxLogError(_("PCX: Image format unsupported.")); break;
case E_MEMORIA: wxLogError(_("PCX: Couldn't allocate memory.")); break;
case E_VERSION: wxLogError(_("PCX: Wrong version number.")); break;
default: wxLogError(_("PCX: Unknown error."));
}
}
image->Destroy();
@@ -257,8 +257,7 @@ bool wxPCXHandler::LoadFile( wxImage *image, wxInputStream& stream, bool verbose
bool wxPCXHandler::SaveFile( wxImage *WXUNUSED(image), wxOutputStream& WXUNUSED(stream), bool verbose )
{
if (verbose)
wxLogError(wxT("wxPCXHandler::SaveFile still not implemented"));
wxFAIL_MSG(wxT("wxPCXHandler::SaveFile still not implemented"));
return FALSE;
}