frmContactEditorRelatedADT( parent )
{
+ // Setup the window.
+
EditorMode = FALSE;
sliPriority->Disable();
void frmContactEditorRelated::EnablePriority( wxCommandEvent& event )
{
+
+ // Enable/disable the priority setting.
+
if (chkUsePref->IsChecked()){
sliPriority->Enable();
} else {
sliPriority->Disable();
}
+
}
void frmContactEditorRelated::SetEditorMode(bool EditMode, SectionType SectType)
{
+
+ // Set the editor mode.
+
if (EditMode == FALSE){
EditorMode = FALSE;
void frmContactEditorRelated::ProcessData( wxCommandEvent& event )
{
+
+ // Process data.
+
long ListCtrlIndex;
if (EditorMode == FALSE){
void frmContactEditorRelated::CloseWindow( wxCommandEvent& event )
{
+
+ // Close this window.
+
this->Close();
+
}
void frmContactEditorRelated::SetupPointers(std::map<int, wxString> *RelatedList,
int RelatedIndex )
{
+ // Setup the pointers.
+
RelatedListPtr = RelatedList;
RelatedListRelTypePtr = RelatedListRelType;
RelatedListAltIDPtr = RelatedListAltID;