:
frmContactEditorSoundADT( parent )
{
+
+ // Setup the window.
+
EditorMode = FALSE;
sliPriority->Disable();
cmbType->Append(wxT(""));
cmbType->Append(_("Home"));
cmbType->Append(_("Work"));
+
}
void frmContactEditorSound::EnablePriority( wxCommandEvent& event )
{
+
+ // Enable/disable the priority setting.
+
if (chkUsePref->IsChecked()){
sliPriority->Enable();
} else {
sliPriority->Disable();
}
+
}
void frmContactEditorSound::ProcessData( wxCommandEvent& event )
{
+
+ // Process audio data.
+
long ListCtrlIndex;
if (EditorMode == FALSE){
void frmContactEditorSound::CloseWindow( wxCommandEvent& event )
{
+
+ // Close this window.
+
this->Close();
+
}
void frmContactEditorSound::SetEditorMode(bool EditMode)
{
+
+ // Set the editor mode.
+
// Set if the editor is adding or editing an address.
// FALSE = Add
// TRUE = Edit
wxListCtrl *SoundListCtrl,
int SoundIndex )
{
+
+ // Setup the pointers.
SoundListPtr = SoundList;
SoundListAltIDPtr = SoundListAltID;