From: Vadim Zeitlin Date: Wed, 24 Jun 2009 18:20:12 +0000 (+0000) Subject: mention that the date passed to SetValue() must only be valid unless the control... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/597b64c2918e7ecf0c1dd30afe717b2883c23506 mention that the date passed to SetValue() must only be valid unless the control has wxDP_ALLOWNONE style git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/datectrl.h b/interface/wx/datectrl.h index 086bb2edb1..e3caf9453c 100644 --- a/interface/wx/datectrl.h +++ b/interface/wx/datectrl.h @@ -146,8 +146,11 @@ public: virtual void SetRange(const wxDateTime& dt1, const wxDateTime& dt2) = 0; /** - Changes the current value of the control. The date should be valid and - included in the currently selected range, if any. + Changes the current value of the control. + + The date should be valid unless the control was created with @c + wxDP_ALLOWNONE style and included in the currently selected range, if + any. Calling this method does not result in a date change event. */