Some BC++ issues

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 1999-12-28 15:21:06 +00:00
parent 1a3aa77fc7
commit 84e5f5395d
3 changed files with 5 additions and 2 deletions

View File

@ -2295,7 +2295,11 @@ const wxChar *wxDateTime::ParseRfc822Date(const wxChar* date)
// the spec was correct
Set(day, mon, year, hour, min, sec);
#ifndef __BORLANDC__ // The following line doesn't compile with BC++
MakeTimezone(60*(wxDateTime_t)offset);
#else
wxMessageBox("ParseRfc822Date doesn't with BC++ yet, sorry.");
#endif
return p;
}

View File

@ -26,7 +26,6 @@
#endif
#if wxUSE_LONGLONG
#include "wx/longlong.h"
#include <memory.h> // for memset()

View File

@ -55,7 +55,7 @@ TAG_HANDLER_BEGIN(FONT, "FONT")
if (tag.HasParam(wxT("SIZE"))) {
long tmp = 0;
wxChar c = tag.GetParam(wxT("SIZE"))[0];
wxChar c = tag.GetParam(wxT("SIZE"))[(unsigned int) 0];
if (tag.ScanParam(wxT("SIZE"), wxT("%li"), &tmp) == 1) {
if (c == '+' || c == '-')
m_WParser -> SetFontSize(oldsize+tmp);