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.
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();
}
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;