/////////////////////////////////////////////////////////////////////////////
-// Name: generic/datectlg.cpp
+// Name: src/generic/datectlg.cpp
// Purpose: generic wxDatePickerCtrlGeneric implementation
// Author: Andreas Pflug
// Modified by:
wxControl::DoMoveWindow(x, y, w, h);
if (m_dropped)
- DropDown(true);
+ DropDown(false);
}
wxSize wxDatePickerCtrlGeneric::DoGetBestSize() const
int eh=m_txt->GetBestSize().y;
return wxSize(DEFAULT_ITEM_WIDTH, bh > eh ? bh : eh);
}
- return wxSize(DEFAULT_ITEM_WIDTH,DEFAULT_ITEM_HEIGHT);
+ return wxControl::DoGetBestSize();
}
#endif // wxUSE_DATEPICKCTRL_GENERIC
#endif // wxUSE_DATEPICKCTRL
-