:
frmContactEditorEmailADT( parent )
{
+
+ // Setup the window.
+
EditorMode = FALSE;
sliPriority->Disable();
+
}
void frmContactEditorEmail::EnablePriority( wxCommandEvent& event )
{
+
+ // Enable/disable the priority setting.
+
if (chkUsePref->IsChecked()){
sliPriority->Enable();
} else {
sliPriority->Disable();
}
+
}
void frmContactEditorEmail::ProcessData( wxCommandEvent& event )
{
+
+ // Process action.
+
long ListCtrlIndex;
if (EditorMode == FALSE){
void frmContactEditorEmail::CloseWindow( wxCommandEvent& event )
{
+
+ // Close this window.
+
this->Close();
+
}
void frmContactEditorEmail::SetEditorMode(bool EditMode, SectionType SectType)
{
+ // Set the editor mode.
+
// Set the editor mode for adding or editing an email address.
if (EditMode == FALSE){
EmailListPrefPtr = EmailListPref;
EmailListCtrlPtr = EmailListCtrl;
EmailListIndex = EmailIndex;
+
}
\ No newline at end of file