]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/datetime.h
change longs used for bitmap types to wxBitmapType (#9126)
[wxWidgets.git] / interface / datetime.h
index b76b7b70257d1945f56acd3ab30f262bef96e168..ce9810ebb63a1f3b00d9bc30396b221f1131803d 100644 (file)
@@ -285,6 +285,17 @@ public:
                wxDateTime_t minute = 0, wxDateTime_t second = 0,
                wxDateTime_t millisec = 0);
 
+    /**
+        Same as SetFromMSWSysTime.
+
+        @param st
+            Input, Windows SYSTEMTIME reference
+        @since 2.9.0
+        @remarks MSW only
+    */
+    wxDateTime(const struct _SYSTEMTIME& st);
+
+
     /**
         Reset time to midnight (00:00:00) without changing the date.
     */
@@ -410,6 +421,24 @@ public:
     */
     long unsigned int GetAsDOS() const;
 
+    /**
+        Initialize using the Windows SYSTEMTIME structure.
+        @param st
+            Input, Windows SYSTEMTIME reference
+        @since 2.9.0
+        @remarks MSW only
+    */
+    wxDateTime& SetFromMSWSysTime(const struct _SYSTEMTIME& st);
+
+    /**
+        Returns the date and time in the Windows SYSTEMTIME format.
+        @param st
+            Output, pointer to Windows SYSTEMTIME
+        @since 2.9.0
+        @remarks MSW only
+    */
+    void GetAsMSWSysTime(struct _SYSTEMTIME* st) const;
+
     /**
         Returns the century of this date.
     */