From: Vadim Zeitlin Date: Mon, 20 Feb 2012 21:57:13 +0000 (+0000) Subject: Minor fixes to wxDateTime documentation. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cb8ae61385f1c65552585cb55d8f7bd9f1f690b4 Minor fixes to wxDateTime documentation. 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 --- diff --git a/interface/wx/datetime.h b/interface/wx/datetime.h index 950ac809e8..49a2350795 100644 --- a/interface/wx/datetime.h +++ b/interface/wx/datetime.h @@ -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. */