]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/datectrl.h
fixes for wxDP_ALLOWNONE case
[wxWidgets.git] / include / wx / datectrl.h
index d868bead78e65e5113bdd93d7377365995943315..5a0e6f0e4d6b0be89fbdfc4de2bac90f0ceb8c33 100644 (file)
@@ -35,7 +35,11 @@ enum
 
     // always show century in the default date display (otherwise it depends on
     // the system date format which may include the century or not)
-    wxDP_SHOWCENTURY = 4
+    wxDP_SHOWCENTURY = 4,
+
+    // allow not having any valid date in the control (by default it always has
+    // some date, today initially if no valid date specified in ctor)
+    wxDP_ALLOWNONE = 8
 };
 
 // ----------------------------------------------------------------------------