many changes; major ones:

1. start of !wxUSE_GUI support
2. _T() macro renamed to T()
3. wxConvertWX2MB and MB2WX macro added


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-10-04 20:15:38 +00:00
parent 9841339c74
commit e90c1d2a19
298 changed files with 5153 additions and 4672 deletions

View File

@@ -229,7 +229,7 @@ bool wxPCXHandler::LoadFile( wxImage *image, wxInputStream& stream, bool verbose
if (!CanRead(stream))
{
if (verbose)
wxLogError(_T("wxPCXHandler: this is not a PCX file"));
wxLogError(T("wxPCXHandler: 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(_T("wxPCXHandler: image format unsupported")); break;
case E_MEMORIA: wxLogError(_T("wxPCXHandler: couldn't allocate memory")); break;
case E_VERSION: wxLogError(_T("wxPCXHandler: version number too low")); break;
default: wxLogError(_T("wxPCXHandler: unknown error !!!"));
case E_FORMATO: wxLogError(T("wxPCXHandler: image format unsupported")); break;
case E_MEMORIA: wxLogError(T("wxPCXHandler: couldn't allocate memory")); break;
case E_VERSION: wxLogError(T("wxPCXHandler: version number too low")); break;
default: wxLogError(T("wxPCXHandler: unknown error !!!"));
}
}
image->Destroy();
@@ -258,7 +258,7 @@ bool wxPCXHandler::LoadFile( wxImage *image, wxInputStream& stream, bool verbose
bool wxPCXHandler::SaveFile( wxImage *WXUNUSED(image), wxOutputStream& WXUNUSED(stream), bool verbose )
{
if (verbose)
wxLogError(_T("wxPCXHandler::SaveFile still not implemented"));
wxLogError(T("wxPCXHandler::SaveFile still not implemented"));
return FALSE;
}