]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/datetime.inl
added align=justify support ; also removed relic: GetMaxLineWidth
[wxWidgets.git] / include / wx / datetime.inl
index 0420e98f742d874844db0079dd61bb2211c3d9d1..49567d13271f8c6c16e938d6c48b828d4766fb10 100644 (file)
@@ -362,10 +362,10 @@ wxDateTime wxDateTime::ToTimezone(const wxDateTime::TimeZone& tz,
 // wxTimeSpan construction
 // ----------------------------------------------------------------------------
 
-wxTimeSpan::wxTimeSpan(int hours, int minutes, int seconds, int milliseconds)
+wxTimeSpan::wxTimeSpan(long hours, long minutes, long seconds, long milliseconds)
 {
     // assign first to avoid precision loss
-    m_diff = (long)hours;
+    m_diff = hours;
     m_diff *= 60l;
     m_diff += minutes;
     m_diff *= 60l;