HatchKeeper  0.90
The Free Open-Source Egg Incubation Software
DateDialog Class Reference

This Dialog Allows The User To Select A Date. More...

Inheritance diagram for DateDialog:

Public Member Functions

void OnDateSave (wxCommandEvent &)
 Sets Date To ReturnDate And Closes Dialog. More...
 
HK_Date GetDate ()
 Returns Selected Date. More...
 
 DateDialog (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=wxT("Select Date"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(200, 110), long style=wxCAPTION|wxSYSTEM_MENU)
 Constructor. More...
 

Protected Attributes

HK_Date DateDialogDate
 
wxDatePickerCtrl * dateCalPicker
 
wxButton * dateDialogSaveButton
 

Detailed Description

This Dialog Allows The User To Select A Date.

Call GetDate To Retrieve The Selected Date.

Definition at line 23 of file DateDialog.cpp.

Constructor & Destructor Documentation

◆ DateDialog()

DateDialog::DateDialog ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxString &  title = wxT("Select Date"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize( 200,110 ),
long  style = wxCAPTION|wxSYSTEM_MENU 
)

Constructor.

Definition at line 36 of file DateDialog.cpp.

Member Function Documentation

◆ GetDate()

HK_Date DateDialog::GetDate ( )

Returns Selected Date.

Definition at line 76 of file DateDialog.cpp.

◆ OnDateSave()

void DateDialog::OnDateSave ( wxCommandEvent &  )

Sets Date To ReturnDate And Closes Dialog.

Definition at line 65 of file DateDialog.cpp.

Member Data Documentation

◆ dateCalPicker

wxDatePickerCtrl* DateDialog::dateCalPicker
protected

Definition at line 27 of file DateDialog.cpp.

◆ DateDialogDate

HK_Date DateDialog::DateDialogDate
protected

Definition at line 26 of file DateDialog.cpp.

◆ dateDialogSaveButton

wxButton* DateDialog::dateDialogSaveButton
protected

Definition at line 28 of file DateDialog.cpp.


The documentation for this class was generated from the following file: