class WXDLLIMPEXP_ADV wxCalendarCtrl : public wxControl
{
-friend class wxMonthComboBox;
-friend class wxYearSpinCtrl;
-
public:
// construction
wxCalendarCtrl() { Init(); }
void OnChar(wxKeyEvent& event);
void OnMonthChange(wxCommandEvent& event);
void OnYearChange(wxCommandEvent& event);
+ void OnYearTextChange(wxCommandEvent& event);
// override some base class virtuals
virtual wxSize DoGetBestSize() const;
// show the correct controls
void ShowCurrentControls();
+ // create the month combo and year spin controls
+ void CreateMonthComboBox();
+ void CreateYearSpinCtrl();
+
public:
// get the currently shown control for month/year
wxControl *GetMonthControl() const;