Remove support for MetroWerks CodeWarrior compiler.
This compiler doesn't exist any more and was probably unsupported even in 2.8, let alone 2.9, so remove all the __MWERKS__ tests to simplify things. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2107,9 +2107,9 @@ inline wxLongLong wxTimeSpan::GetSeconds() const
|
||||
|
||||
inline int wxTimeSpan::GetMinutes() const
|
||||
{
|
||||
// explicit cast to int suppresses a warning with CodeWarrior and possibly
|
||||
// others (changing the return type to long from int is impossible in 2.8)
|
||||
return (int)((GetSeconds() / 60l).GetLo());
|
||||
// For compatibility, this method (and the other accessors) return int,
|
||||
// even though GetLo() actually returns unsigned long with greater range.
|
||||
return static_cast<int>((GetSeconds() / 60l).GetLo());
|
||||
}
|
||||
|
||||
inline int wxTimeSpan::GetHours() const
|
||||
|
Reference in New Issue
Block a user