X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23bec39ad32a0aae3150dce52e0e8c7d9170c001..27bb69ac80420cf4681182ac9b75260048b77f90:/docs/latex/wx/datectrl.tex?ds=inline

diff --git a/docs/latex/wx/datectrl.tex b/docs/latex/wx/datectrl.tex
index d3ae311f37..637a661b3e 100644
--- a/docs/latex/wx/datectrl.tex
+++ b/docs/latex/wx/datectrl.tex
@@ -28,6 +28,25 @@ the platform.
 
 <wx/dateevt.h>
 
+(only available if \texttt{wxUSE\_DATEPICKCTRL} is set to $1$)
+
+\wxheading{Window styles}
+
+\twocolwidtha{5cm}%
+\begin{twocollist}\itemsep=0pt
+\twocolitem{\windowstyle{wxDP\_SPIN}}{Creates a control without month calendar
+drop down but with spin control-like arrows to change individual date
+components. This style is not supported by the generic version.}
+\twocolitem{\windowstyle{wxDP\_DROPDOWN}}{Creates a control with a month
+calendar drop down part from which the user can select a date.}
+\twocolitem{\windowstyle{wxDP\_DEFAULT}}{Creates a control with default style
+which is the best supported for the current platform (currently wxDP\_SPIN
+under Windows and wxDP\_DROPDOWN elsewhere).}
+\twocolitem{\windowstyle{wxDP\_SHOWCENTURY}}{Forces display of the century in
+the default date format. Without this flas the century could be displayed or
+not depending on the default date representation in the system.}
+\end{twocollist}
+
 \wxheading{Event handling}
 
 \twocolwidtha{7cm}%
@@ -51,7 +70,7 @@ changes the current selection in the control.}
 \param{const wxDateTime\& }{dt = wxDefaultDateTime},\rtfsp
 \param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp
 \param{const wxSize\& }{size = wxDefaultSize},\rtfsp
-\param{long}{ style = 0},\rtfsp
+\param{long}{ style = wxDP\_DEFAULT | wxDP\_SHOWCENTURY},\rtfsp
 \param{const wxValidator\& }{validator = wxDefaultValidator},
 \param{const wxString\& }{name = ``datectrl"}}
 
@@ -66,7 +85,7 @@ all the parameters.
 \param{const wxDateTime\& }{dt = wxDefaultDateTime},\rtfsp
 \param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp
 \param{const wxSize\& }{size = wxDefaultSize},\rtfsp
-\param{long}{ style = 0},\rtfsp
+\param{long}{ style = wxDP\_DEFAULT | wxDP\_SHOWCENTURY},\rtfsp
 \param{const wxValidator\& }{validator = wxDefaultValidator},
 \param{const wxString\& }{name = ``datectrl"}}
 
