X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcontacteditor%2FfrmContactEditorTimezones.cpp;h=9ea1441a8b2821c10f4e59fc6de452ed26a48270;hb=1ae599b5dca63e225591f324dd572fe335368f82;hp=d33764bf411f1ea932a6dce15f0fe12fe76c728b;hpb=b94bd4dabb26fa35fbe348b70ef7b75622210471;p=xestiaab%2F.git 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(); }