X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/628e155d8c70da0f962289cf1e1dea3699255707..5fdb6350921035ace3d9619bd2d36f776d0653ef:/include/wx/generic/datectrl.h diff --git a/include/wx/generic/datectrl.h b/include/wx/generic/datectrl.h index c84f551994..de60cabf4a 100644 --- a/include/wx/generic/datectrl.h +++ b/include/wx/generic/datectrl.h @@ -12,10 +12,9 @@ #ifndef _WX_GENERIC_DATECTRL_H_ #define _WX_GENERIC_DATECTRL_H_ -class WXDLLIMPEXP_FWD_ADV wxCalendarDateAttr; -class WXDLLIMPEXP_FWD_ADV wxGenericCalendarCtrl; -class WXDLLIMPEXP_FWD_ADV wxCalendarEvent; -class WXDLLIMPEXP_FWD_CORE wxComboCtrl; +#include "wx/calctrl.h" +#include "wx/combo.h" + class WXDLLIMPEXP_FWD_ADV wxCalendarComboPopup; class WXDLLIMPEXP_ADV wxDatePickerCtrlGeneric : public wxDatePickerCtrlBase @@ -58,8 +57,7 @@ public: const wxDateTime& upperdate = wxDefaultDateTime); // extra methods available only in this (generic) implementation - bool SetFormat(const wxString& fmt); - wxGenericCalendarCtrl *GetCalendar() const; + wxCalendarCtrl *GetCalendar() const; // implementation only from now on @@ -81,9 +79,8 @@ private: wxComboCtrl* m_combo; wxCalendarComboPopup* m_popup; - DECLARE_EVENT_TABLE() - DECLARE_NO_COPY_CLASS(wxDatePickerCtrlGeneric) + wxDECLARE_NO_COPY_CLASS(wxDatePickerCtrlGeneric); }; #endif // _WX_GENERIC_DATECTRL_H_