From: Steve Brokenshire Date: Sun, 13 Mar 2016 10:04:42 +0000 (+0000) Subject: Added comments to describe functions in frmContactEditorTimezones X-Git-Tag: release-0.11~117 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=1ae599b5dca63e225591f324dd572fe335368f82;p=xestiaab%2F.git Added comments to describe functions in frmContactEditorTimezones --- diff --git a/source/contacteditor/frmContactEditorTimezones.cpp b/source/contacteditor/frmContactEditorTimezones.cpp index d33764b..9ea1441 100644 --- a/source/contacteditor/frmContactEditorTimezones.cpp +++ b/source/contacteditor/frmContactEditorTimezones.cpp @@ -24,12 +24,19 @@ frmContactEditorTimezones::frmContactEditorTimezones( wxWindow* parent ) : frmContactEditorTimezonesADT( parent ) { + + // Setup the window. + EditorMode = FALSE; sliPriority->Disable(); + } void frmContactEditorTimezones::EnablePriority( wxCommandEvent& event ) { + + // Enable/disable the priority setting. + if (chkUsePref->IsChecked()){ sliPriority->Enable(); } else { @@ -90,6 +97,8 @@ void frmContactEditorTimezones::SetEditorMode(bool EditMode, SectionType SectTyp void frmContactEditorTimezones::ProcessAction( wxCommandEvent& event ) { + + // Process action. long ListCtrlIndex; @@ -199,6 +208,9 @@ void frmContactEditorTimezones::ProcessAction( wxCommandEvent& event ) void frmContactEditorTimezones::CloseWindow( wxCommandEvent& event ) { + + // Close this window. + this->Close(); }