From 597b64c2918e7ecf0c1dd30afe717b2883c23506 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 24 Jun 2009 18:20:12 +0000 Subject: [PATCH] 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 --- interface/wx/datectrl.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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. */ -- 2.45.2