-
- // This section has been taken from the wxWidgets sample code of richtext.cpp
- // so that simple Cut/Copy/Paste code can be made.
-
- // As this code comes from the samples of the wxWidgets library, this is licenced
- // under the wxWindows Library Licence and is compatable with the LGPL and is
- // compatable with Xestia Address Book's licence.
-
- if (event.IsCommandEvent() && !event.IsKindOf(CLASSINFO(wxChildFocusEvent)))
- {
- // Problem: we can get infinite recursion because the events
- // climb back up to this frame, and repeat.
- // Assume that command events don't cause another command event
- // to be called, so we can rely on inCommand not being overwritten
+
+ // 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.
+
+ // As this code comes from the samples of the wxWidgets library, this is licenced
+ // under the wxWindows Library Licence and is compatable with the LGPL and is
+ // compatable with Xestia Address Book's licence.
+
+ if (event.IsCommandEvent() && !event.IsKindOf(CLASSINFO(wxChildFocusEvent))){
+ // Problem: we can get infinite recursion because the events
+ // climb back up to this frame, and repeat.
+ // Assume that command events don't cause another command event
+ // to be called, so we can rely on inCommand not being overwritten