From 1ae599b5dca63e225591f324dd572fe335368f82 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 13 Mar 2016 10:04:42 +0000 Subject: [PATCH] Added comments to describe functions in frmContactEditorTimezones --- source/contacteditor/frmContactEditorTimezones.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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(); } -- 2.39.2