]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/datetime.h
Ensure that key events are sent to focused window first in wxGTK.
[wxWidgets.git] / include / wx / datetime.h
index caeae26bdac425709f7d76cbb7f231065a802a8d..f6bb9cdc29701d5353c706b4103bca370c6fd112 100644 (file)
@@ -1579,6 +1579,8 @@ public:
     int GetYears() const { return m_years; }
         // get number of months
     int GetMonths() const { return m_months; }
+        // returns 12*GetYears() + GetMonths()
+    int GetTotalMonths() const { return 12*m_years + m_months; }
         // get number of weeks
     int GetWeeks() const { return m_weeks; }
         // get number of days