:
frmContactEditorLanguagesADT( parent )
{
+
+ // Setup the window.
+
EditorMode = FALSE;
sliPriority->Disable();
}
void frmContactEditorLanguages::EnablePriority( wxCommandEvent& event )
{
+
+ // Enable/disable the priority setting.
+
if (chkUsePref->IsChecked()){
sliPriority->Enable();
} else {
sliPriority->Disable();
}
+
}
void frmContactEditorLanguages::SetEditorMode(bool EditMode, SectionType SectType)
void frmContactEditorLanguages::ProcessAction( wxCommandEvent& event )
{
+ // Process the action.
+
long ListCtrlIndex;
if (EditorMode == FALSE){
LanguageListPrefPtr = LanguageListPref;
LanguageListCtrlPtr = LanguageListCtrl;
LanguageListIndex = LanguageIndex;
+
}
\ No newline at end of file