BC++ compialtion fix (?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2295,11 +2295,7 @@ 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((wxDateTime_t)(60*offset));
|
||||||
MakeTimezone(60*(wxDateTime_t)offset);
|
|
||||||
#else
|
|
||||||
wxMessageBox("ParseRfc822Date doesn't with BC++ yet, sorry.");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user