]> git.saurik.com Git - wxWidgets.git/commitdiff
Minor fixes to wxDateTime documentation.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 20 Feb 2012 21:57:13 +0000 (21:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 20 Feb 2012 21:57:13 +0000 (21:57 +0000)
Use @onlyfor{wxmsw} for MSW-specific methods; fix the return type of
operator+=().

Closes #14024.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/datetime.h

index 950ac809e8731d262b323e297f187db3b36a2223..49a2350795f9028846035e5d9a3c50696e14ee32 100644 (file)
@@ -488,6 +488,7 @@ public:
             Input, Windows SYSTEMTIME reference
         @since 2.9.0
         @remarks MSW only
+        @onlyfor{wxmsw}
     */
     wxDateTime(const struct _SYSTEMTIME& st);
 
@@ -623,6 +624,7 @@ public:
             Input, Windows SYSTEMTIME reference
         @since 2.9.0
         @remarks MSW only
+        @onlyfor{wxmsw}
     */
     wxDateTime& SetFromMSWSysTime(const struct _SYSTEMTIME& st);
 
@@ -632,6 +634,7 @@ public:
             Output, pointer to Windows SYSTEMTIME
         @since 2.9.0
         @remarks MSW only
+        @onlyfor{wxmsw}
     */
     void GetAsMSWSysTime(struct _SYSTEMTIME* st) const;
 
@@ -904,7 +907,7 @@ public:
     /**
         Adds the given date span to this object.
     */
-    wxDateTime operator+=(const wxDateSpan& diff);
+    wxDateTime& operator+=(const wxDateSpan& diff);
     /**
         Subtracts the given date span from this object.
     */