]> git.saurik.com Git - wxWidgets.git/commitdiff
mention that the date passed to SetValue() must only be valid unless the control...
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 24 Jun 2009 18:20:12 +0000 (18:20 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 24 Jun 2009 18:20:12 +0000 (18:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/datectrl.h

index 086bb2edb1a807a6d786ab4534c0fdc27826e50e..e3caf9453ce2bc83c9b45ce76810d43d2bbca766 100644 (file)
@@ -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.
     */