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:
@@ -2295,7 +2295,11 @@ const wxChar *wxDateTime::ParseRfc822Date(const wxChar* date)
|
|||||||
|
|
||||||
// the spec was correct
|
// the spec was correct
|
||||||
Set(day, mon, year, hour, min, sec);
|
Set(day, mon, year, hour, min, sec);
|
||||||
|
#ifndef __BORLANDC__ // The following line doesn't compile with BC++
|
||||||
MakeTimezone(60*(wxDateTime_t)offset);
|
MakeTimezone(60*(wxDateTime_t)offset);
|
||||||
|
#else
|
||||||
|
wxMessageBox("ParseRfc822Date doesn't with BC++ yet, sorry.");
|
||||||
|
#endif
|
||||||
|
|
||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
|
@@ -26,7 +26,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if wxUSE_LONGLONG
|
#if wxUSE_LONGLONG
|
||||||
|
|
||||||
#include "wx/longlong.h"
|
#include "wx/longlong.h"
|
||||||
|
|
||||||
#include <memory.h> // for memset()
|
#include <memory.h> // for memset()
|
||||||
|
@@ -55,7 +55,7 @@ TAG_HANDLER_BEGIN(FONT, "FONT")
|
|||||||
|
|
||||||
if (tag.HasParam(wxT("SIZE"))) {
|
if (tag.HasParam(wxT("SIZE"))) {
|
||||||
long tmp = 0;
|
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 (tag.ScanParam(wxT("SIZE"), wxT("%li"), &tmp) == 1) {
|
||||||
if (c == '+' || c == '-')
|
if (c == '+' || c == '-')
|
||||||
m_WParser -> SetFontSize(oldsize+tmp);
|
m_WParser -> SetFontSize(oldsize+tmp);
|
||||||
|
Reference in New Issue
Block a user