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
This commit is contained in:
Vadim Zeitlin
2012-02-20 21:57:13 +00:00
parent 488b8b52bb
commit cb8ae61385

View File

@@ -488,6 +488,7 @@ public:
Input, Windows SYSTEMTIME reference Input, Windows SYSTEMTIME reference
@since 2.9.0 @since 2.9.0
@remarks MSW only @remarks MSW only
@onlyfor{wxmsw}
*/ */
wxDateTime(const struct _SYSTEMTIME& st); wxDateTime(const struct _SYSTEMTIME& st);
@@ -623,6 +624,7 @@ public:
Input, Windows SYSTEMTIME reference Input, Windows SYSTEMTIME reference
@since 2.9.0 @since 2.9.0
@remarks MSW only @remarks MSW only
@onlyfor{wxmsw}
*/ */
wxDateTime& SetFromMSWSysTime(const struct _SYSTEMTIME& st); wxDateTime& SetFromMSWSysTime(const struct _SYSTEMTIME& st);
@@ -632,6 +634,7 @@ public:
Output, pointer to Windows SYSTEMTIME Output, pointer to Windows SYSTEMTIME
@since 2.9.0 @since 2.9.0
@remarks MSW only @remarks MSW only
@onlyfor{wxmsw}
*/ */
void GetAsMSWSysTime(struct _SYSTEMTIME* st) const; void GetAsMSWSysTime(struct _SYSTEMTIME* st) const;
@@ -904,7 +907,7 @@ public:
/** /**
Adds the given date span to this object. 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. Subtracts the given date span from this object.
*/ */