Lines Matching refs:wxCalendarCtrl
3 // Purpose: implementation fo the generic wxCalendarCtrl
55 BEGIN_EVENT_TABLE(wxCalendarCtrl, wxControl)
56 EVT_PAINT(wxCalendarCtrl::OnPaint)
58 EVT_CHAR(wxCalendarCtrl::OnChar)
60 EVT_LEFT_DOWN(wxCalendarCtrl::OnClick)
61 EVT_LEFT_DCLICK(wxCalendarCtrl::OnDClick)
63 EVT_SYS_COLOUR_CHANGED(wxCalendarCtrl::OnSysColourChanged)
107 IMPLEMENT_DYNAMIC_CLASS_XTI(wxCalendarCtrl, wxControl,"wx/calctrl.h")
109 wxBEGIN_PROPERTIES_TABLE(wxCalendarCtrl)
116 wxBEGIN_HANDLERS_TABLE(wxCalendarCtrl)
119 wxCONSTRUCTOR_6( wxCalendarCtrl , wxWindow* , Parent , wxWindowID , Id , wxDateTime , Date , wxPoint , Position , wxSize , Size , long , WindowStyle )
121 IMPLEMENT_DYNAMIC_CLASS(wxCalendarCtrl, wxControl)
141 // wxCalendarCtrl
144 wxCalendarCtrl::wxCalendarCtrl(wxWindow *parent,
157 void wxCalendarCtrl::Init()
183 void wxCalendarCtrl::InitColours()
197 bool wxCalendarCtrl::Create(wxWindow *parent,
250 wxCalendarCtrl::~wxCalendarCtrl()
266 void wxCalendarCtrl::SetWindowStyleFlag(long style)
281 void wxCalendarCtrl::CreateMonthComboBox()
304 wxCommandEventHandler(wxCalendarCtrl::OnMonthChange),
308 void wxCalendarCtrl::CreateYearSpinCtrl()
318 wxCommandEventHandler(wxCalendarCtrl::OnYearTextChange),
322 wxCommandEventHandler(wxCalendarCtrl::OnYearChange),
330 bool wxCalendarCtrl::Destroy()
349 bool wxCalendarCtrl::Show(bool show)
368 bool wxCalendarCtrl::Enable(bool enable)
388 void wxCalendarCtrl::ShowCurrentControls()
419 wxControl *wxCalendarCtrl::GetMonthControl() const
424 wxControl *wxCalendarCtrl::GetYearControl() const
429 void wxCalendarCtrl::EnableYearChange(bool enable)
448 void wxCalendarCtrl::EnableMonthChange(bool enable)
471 bool wxCalendarCtrl::SetDate(const wxDateTime& date)
523 void wxCalendarCtrl::ChangeDay(const wxDateTime& date)
542 void wxCalendarCtrl::SetDateAndNotify(const wxDateTime& date)
567 bool wxCalendarCtrl::SetLowerDateLimit(const wxDateTime& date /* = wxDefaultDateTime */)
583 bool wxCalendarCtrl::SetUpperDateLimit(const wxDateTime& date /* = wxDefaultDateTime */)
599 bool wxCalendarCtrl::SetDateRange(const wxDateTime& lowerdate /* = wxDefaultDateTime */, const wxDateTime& upperdate /* = wxDefaultDateTime */)
622 wxDateTime wxCalendarCtrl::GetStartDate() const
644 bool wxCalendarCtrl::IsDateShown(const wxDateTime& date) const
656 bool wxCalendarCtrl::IsDateInRange(const wxDateTime& date) const
663 bool wxCalendarCtrl::ChangeYear(wxDateTime* target) const
702 bool wxCalendarCtrl::ChangeMonth(wxDateTime* target) const
723 size_t wxCalendarCtrl::GetWeek(const wxDateTime& date) const
768 wxSize wxCalendarCtrl::DoGetBestSize() const
771 ((wxCalendarCtrl *)this)->RecalcGeometry(); // const_cast
800 void wxCalendarCtrl::DoSetSize(int x, int y,
807 void wxCalendarCtrl::DoMoveWindow(int x, int y, int width, int height)
846 void wxCalendarCtrl::DoGetPosition(int *x, int *y) const
861 void wxCalendarCtrl::DoGetSize(int *width, int *height) const
876 void wxCalendarCtrl::RecalcGeometry()
918 void wxCalendarCtrl::OnPaint(wxPaintEvent& WXUNUSED(event))
1212 void wxCalendarCtrl::RefreshDate(const wxDateTime& date)
1247 void wxCalendarCtrl::HighlightRange(wxPaintDC* pDC, const wxDateTime& fromdate, const wxDateTime& todate, const wxPen* pPen, const wxBrush* pBrush)
1337 bool wxCalendarCtrl::GetDateCoord(const wxDateTime& date, int *day, int *week) const
1430 void wxCalendarCtrl::OnDClick(wxMouseEvent& event)
1442 void wxCalendarCtrl::OnClick(wxMouseEvent& event)
1486 wxCalendarHitTestResult wxCalendarCtrl::HitTest(const wxPoint& pos,
1594 void wxCalendarCtrl::OnMonthChange(wxCommandEvent& event)
1610 void wxCalendarCtrl::OnYearChange(wxCommandEvent& event)
1640 void wxCalendarCtrl::OnYearTextChange(wxCommandEvent& event)
1647 void wxCalendarCtrl::OnSysColourChanged(wxSysColourChangedEvent& event)
1664 void wxCalendarCtrl::OnChar(wxKeyEvent& event)
1763 void wxCalendarCtrl::EnableHolidayDisplay(bool display)
1781 void wxCalendarCtrl::SetHolidayAttrs()
1802 void wxCalendarCtrl::SetHoliday(size_t day)
1818 void wxCalendarCtrl::ResetHolidayAttrs()
1832 wxCalendarCtrl::GetClassDefaultAttributes(wxWindowVariant variant)