Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added comments to describe functions in contacteditor/frmContactEditor-Events.cpp
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 13 Mar 2016 15:58:30 +0000 (15:58 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 13 Mar 2016 15:58:30 +0000 (15:58 +0000)
source/contacteditor/frmContactEditor-Events.cpp

index 62f8a55..df0ff62 100644 (file)
@@ -20,7 +20,9 @@
 
 bool frmContactEditor::ProcessEvent(wxEvent& event)
 {
-    
+
+       // Process the cut/copy/paste events.
+
        // This section has been taken from the wxWidgets sample code of richtext.cpp
        // so that simple Cut/Copy/Paste code can be made.
     
@@ -65,7 +67,8 @@ bool frmContactEditor::ProcessEvent(wxEvent& event)
 
 void frmContactEditor::UpdateDisplayAs( wxCommandEvent &event ){
     
-       // Generate a drop down list of common names to use for the display as drop down box.
+       // Generate a drop down list of common names to 
+       // use for the display as drop down box.
     
        wxString SetValue = cmbDisplayAs->GetValue();
     
@@ -92,7 +95,10 @@ void frmContactEditor::UpdateDisplayAs( wxCommandEvent &event ){
 }
 
 void frmContactEditor::UpdateName( wxCommandEvent &event ){
-    
+
+       // Update the window title and main window menu item
+       // with the new name.
+
        this->SetTitle(cmbDisplayAs->GetValue());
     
        WindowData *WData = new WindowData;
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy