added wxDP_SPIN/DROPDOWN styles (only Win32 native version implements the former)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-01-19 19:31:40 +00:00
parent 7d8268a1d6
commit 29c8694822
4 changed files with 38 additions and 6 deletions

View File

@@ -79,6 +79,9 @@ bool wxDatePickerCtrl::Create(wxWindow *parent,
long style,
const wxString& name)
{
wxASSERT_MSG( !(style & wxDP_SPIN),
_T("wxDP_SPIN style not supported, use wxDP_DEFAULT") );
wxString txt;
if (date.IsValid())
txt = date.FormatDate();