projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
No changes, just avoid overriding GetNativeFontInfoDesc() in wxMSW wxFont.
[wxWidgets.git]
/
include
/
wx
/
datetime.h
diff --git
a/include/wx/datetime.h
b/include/wx/datetime.h
index a431fd8e9f242c80373ef47d7b5a9e511f7440c4..dc59c920cdee3746c5cf16717ffc985ecf3fa216 100644
(file)
--- a/
include/wx/datetime.h
+++ b/
include/wx/datetime.h
@@
-247,7
+247,7
@@
public:
// adoption of the Gregorian calendar (see IsGregorian())
//
// All data and comments taken verbatim from "The Calendar FAQ (v 2.0)"
// adoption of the Gregorian calendar (see IsGregorian())
//
// All data and comments taken verbatim from "The Calendar FAQ (v 2.0)"
- // by Claus T
�
ndering, http://www.pip.dknet.dk/~c-t/calendar.html
+ // by Claus T
ø
ndering, http://www.pip.dknet.dk/~c-t/calendar.html
// except for the comments "we take".
//
// Symbol "->" should be read as "was followed by" in the comments
// except for the comments "we take".
//
// Symbol "->" should be read as "was followed by" in the comments
@@
-985,37
+985,37
@@
public:
inline bool operator<(const wxDateTime& dt) const
{
inline bool operator<(const wxDateTime& dt) const
{
- wxASSERT_MSG( IsValid() && dt.IsValid(),
_
T("invalid wxDateTime") );
+ wxASSERT_MSG( IsValid() && dt.IsValid(),
wx
T("invalid wxDateTime") );
return GetValue() < dt.GetValue();
}
inline bool operator<=(const wxDateTime& dt) const
{
return GetValue() < dt.GetValue();
}
inline bool operator<=(const wxDateTime& dt) const
{
- wxASSERT_MSG( IsValid() && dt.IsValid(),
_
T("invalid wxDateTime") );
+ wxASSERT_MSG( IsValid() && dt.IsValid(),
wx
T("invalid wxDateTime") );
return GetValue() <= dt.GetValue();
}
inline bool operator>(const wxDateTime& dt) const
{
return GetValue() <= dt.GetValue();
}
inline bool operator>(const wxDateTime& dt) const
{
- wxASSERT_MSG( IsValid() && dt.IsValid(),
_
T("invalid wxDateTime") );
+ wxASSERT_MSG( IsValid() && dt.IsValid(),
wx
T("invalid wxDateTime") );
return GetValue() > dt.GetValue();
}
inline bool operator>=(const wxDateTime& dt) const
{
return GetValue() > dt.GetValue();
}
inline bool operator>=(const wxDateTime& dt) const
{
- wxASSERT_MSG( IsValid() && dt.IsValid(),
_
T("invalid wxDateTime") );
+ wxASSERT_MSG( IsValid() && dt.IsValid(),
wx
T("invalid wxDateTime") );
return GetValue() >= dt.GetValue();
}
inline bool operator==(const wxDateTime& dt) const
{
return GetValue() >= dt.GetValue();
}
inline bool operator==(const wxDateTime& dt) const
{
- wxASSERT_MSG( IsValid() && dt.IsValid(),
_
T("invalid wxDateTime") );
+ wxASSERT_MSG( IsValid() && dt.IsValid(),
wx
T("invalid wxDateTime") );
return GetValue() == dt.GetValue();
}
inline bool operator!=(const wxDateTime& dt) const
{
return GetValue() == dt.GetValue();
}
inline bool operator!=(const wxDateTime& dt) const
{
- wxASSERT_MSG( IsValid() && dt.IsValid(),
_
T("invalid wxDateTime") );
+ wxASSERT_MSG( IsValid() && dt.IsValid(),
wx
T("invalid wxDateTime") );
return GetValue() != dt.GetValue();
}
return GetValue() != dt.GetValue();
}
@@
-1784,7
+1784,7
@@
inline wxDateTime::wxDateTime(double jdn)
inline wxDateTime& wxDateTime::Set(const Tm& tm)
{
inline wxDateTime& wxDateTime::Set(const Tm& tm)
{
- wxASSERT_MSG( tm.IsValid(),
_
T("invalid broken down date/time") );
+ wxASSERT_MSG( tm.IsValid(),
wx
T("invalid broken down date/time") );
return Set(tm.mday, (Month)tm.mon, tm.year,
tm.hour, tm.min, tm.sec, tm.msec);
return Set(tm.mday, (Month)tm.mon, tm.year,
tm.hour, tm.min, tm.sec, tm.msec);
@@
-1815,14
+1815,14
@@
inline wxDateTime::wxDateTime(wxDateTime_t day,
inline wxLongLong wxDateTime::GetValue() const
{
inline wxLongLong wxDateTime::GetValue() const
{
- wxASSERT_MSG( IsValid(),
_
T("invalid wxDateTime"));
+ wxASSERT_MSG( IsValid(),
wx
T("invalid wxDateTime"));
return m_time;
}
inline time_t wxDateTime::GetTicks() const
{
return m_time;
}
inline time_t wxDateTime::GetTicks() const
{
- wxASSERT_MSG( IsValid(),
_
T("invalid wxDateTime"));
+ wxASSERT_MSG( IsValid(),
wx
T("invalid wxDateTime"));
if ( !IsInStdRange() )
{
return (time_t)-1;
if ( !IsInStdRange() )
{
return (time_t)-1;
@@
-1890,21
+1890,21
@@
inline wxDateTime wxDateTime::GetYearDay(wxDateTime_t yday) const
inline bool wxDateTime::IsEqualTo(const wxDateTime& datetime) const
{
inline bool wxDateTime::IsEqualTo(const wxDateTime& datetime) const
{
- wxASSERT_MSG( IsValid() && datetime.IsValid(),
_
T("invalid wxDateTime"));
+ wxASSERT_MSG( IsValid() && datetime.IsValid(),
wx
T("invalid wxDateTime"));
return m_time == datetime.m_time;
}
inline bool wxDateTime::IsEarlierThan(const wxDateTime& datetime) const
{
return m_time == datetime.m_time;
}
inline bool wxDateTime::IsEarlierThan(const wxDateTime& datetime) const
{
- wxASSERT_MSG( IsValid() && datetime.IsValid(),
_
T("invalid wxDateTime"));
+ wxASSERT_MSG( IsValid() && datetime.IsValid(),
wx
T("invalid wxDateTime"));
return m_time < datetime.m_time;
}
inline bool wxDateTime::IsLaterThan(const wxDateTime& datetime) const
{
return m_time < datetime.m_time;
}
inline bool wxDateTime::IsLaterThan(const wxDateTime& datetime) const
{
- wxASSERT_MSG( IsValid() && datetime.IsValid(),
_
T("invalid wxDateTime"));
+ wxASSERT_MSG( IsValid() && datetime.IsValid(),
wx
T("invalid wxDateTime"));
return m_time > datetime.m_time;
}
return m_time > datetime.m_time;
}
@@
-1961,14
+1961,14
@@
inline bool wxDateTime::IsEqualUpTo(const wxDateTime& dt,
inline wxDateTime wxDateTime::Add(const wxTimeSpan& diff) const
{
inline wxDateTime wxDateTime::Add(const wxTimeSpan& diff) const
{
- wxASSERT_MSG( IsValid(),
_
T("invalid wxDateTime"));
+ wxASSERT_MSG( IsValid(),
wx
T("invalid wxDateTime"));
return wxDateTime(m_time + diff.GetValue());
}
inline wxDateTime& wxDateTime::Add(const wxTimeSpan& diff)
{
return wxDateTime(m_time + diff.GetValue());
}
inline wxDateTime& wxDateTime::Add(const wxTimeSpan& diff)
{
- wxASSERT_MSG( IsValid(),
_
T("invalid wxDateTime"));
+ wxASSERT_MSG( IsValid(),
wx
T("invalid wxDateTime"));
m_time += diff.GetValue();
m_time += diff.GetValue();
@@
-1982,14
+1982,14
@@
inline wxDateTime& wxDateTime::operator+=(const wxTimeSpan& diff)
inline wxDateTime wxDateTime::Subtract(const wxTimeSpan& diff) const
{
inline wxDateTime wxDateTime::Subtract(const wxTimeSpan& diff) const
{
- wxASSERT_MSG( IsValid(),
_
T("invalid wxDateTime"));
+ wxASSERT_MSG( IsValid(),
wx
T("invalid wxDateTime"));
return wxDateTime(m_time - diff.GetValue());
}
inline wxDateTime& wxDateTime::Subtract(const wxTimeSpan& diff)
{
return wxDateTime(m_time - diff.GetValue());
}
inline wxDateTime& wxDateTime::Subtract(const wxTimeSpan& diff)
{
- wxASSERT_MSG( IsValid(),
_
T("invalid wxDateTime"));
+ wxASSERT_MSG( IsValid(),
wx
T("invalid wxDateTime"));
m_time -= diff.GetValue();
m_time -= diff.GetValue();
@@
-2003,7
+2003,7
@@
inline wxDateTime& wxDateTime::operator-=(const wxTimeSpan& diff)
inline wxTimeSpan wxDateTime::Subtract(const wxDateTime& datetime) const
{
inline wxTimeSpan wxDateTime::Subtract(const wxDateTime& datetime) const
{
- wxASSERT_MSG( IsValid() && datetime.IsValid(),
_
T("invalid wxDateTime"));
+ wxASSERT_MSG( IsValid() && datetime.IsValid(),
wx
T("invalid wxDateTime"));
return wxTimeSpan(GetValue() - datetime.GetValue());
}
return wxTimeSpan(GetValue() - datetime.GetValue());
}