:
frmContactEditorTitlesADT( parent )
{
+
+ // Setup the window.
+
EditorMode = FALSE;
sliPriority->Disable();
}
void frmContactEditorTitles::EnablePriority( wxCommandEvent& event )
{
+
+ // Enable/disable the priority setting.
+
if (chkUsePref->IsChecked()){
sliPriority->Enable();
} else {
sliPriority->Disable();
}
+
}
void frmContactEditorTitles::ProcessAction( wxCommandEvent& event )
{
+
+ // Process action.
+
// Set if the editor is adding or editing an address.
// FALSE = Add
// TRUE = Edit
void frmContactEditorTitles::SetEditorMode(bool EditMode, SectionType SectType)
{
+
+ // Set the editor mode.
+
// Set if the editor is adding or editing an address.
// FALSE = Add
// TRUE = Edit
void frmContactEditorTitles::CloseWindow( wxCommandEvent& event )
{
+
+ // Close the window.
+
this->Close();
+
}
void frmContactEditorTitles::SetupPointers(std::map<int, wxString> *TitlesList,
int TitlesIndex )
{
+ // Setup the pointers.
+
TitlesListPtr = TitlesList;
TitlesListLanguagePtr = TitlesListLanguage;
TitlesListAltIDPtr = TitlesListAltID;