X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcontacteditor%2FfrmContactEditorTimezones.cpp;h=398d0e1d63524a9003ff02fec34586c4c72c8f14;hb=ce6b921249b87bb62df485af240697ba81cd409d;hp=d33764bf411f1ea932a6dce15f0fe12fe76c728b;hpb=da64d37d0a13895554e4ad945c46dd0af6d1c0e6;p=xestiaab%2F.git diff --git a/source/contacteditor/frmContactEditorTimezones.cpp b/source/contacteditor/frmContactEditorTimezones.cpp index d33764b..398d0e1 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,7 +208,11 @@ void frmContactEditorTimezones::ProcessAction( wxCommandEvent& event ) void frmContactEditorTimezones::CloseWindow( wxCommandEvent& event ) { + + // Close this window. + this->Close(); + } void frmContactEditorTimezones::SetupPointers(std::map *TZList,