Watford C++ related changes. Unfortunately, the linker now gives a GPF.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1999-12-28 20:25:09 +00:00
parent 84e5f5395d
commit cff4a45c15
4 changed files with 16 additions and 7 deletions

View File

@@ -97,6 +97,13 @@ class WXDLLEXPORT wxDateSpan;
class WXDLLEXPORT wxDateTime
{
private:
// invalid wxDateTime object - returned by all functions which return
// "wxDateTime &" on failure.
// This variable has to be declared at the start of the class,
// or some compilers (e.g. Watcom C++) won't like it being used further down.
static wxDateTime ms_InvDateTime;
public:
// types
// ------------------------------------------------------------------------
@@ -904,10 +911,6 @@ private:
// fixed to 1000
static const long TIME_T_FACTOR;
// invalid wxDateTime object - returned by all functions which return
// "wxDateTime &" on failure
static wxDateTime ms_InvDateTime;
// returns TRUE if we fall in range in which we can use standard ANSI C
// functions
inline bool IsInStdRange() const;