]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/cmdproc.h
reset the associated view frame pointer when the frame is deleted directly instead...
[wxWidgets.git] / interface / wx / cmdproc.h
index 1698d9e7b7112766043b17a9385c91570611c31e..eda822251c8c058cc32cfe948ffe43e2e1373ac5 100644 (file)
@@ -56,7 +56,7 @@ public:
                 processor that the action is not undoable and should not be
                 added to the command history.
     */
-    virtual bool Do();
+    virtual bool Do() = 0;
 
     /**
         Returns the command name.
@@ -85,7 +85,7 @@ public:
                 processor that the action is not redoable and no change should
                 be made to the command history.
     */
-    virtual bool Undo();
+    virtual bool Undo() = 0;
 };
 
 
@@ -219,13 +219,16 @@ public:
     void SetUndoAccelerator(const wxString& accel);
 
     /**
-        Submits a new command to the command processor. The command processor
-        calls wxCommand::Do() to execute the command; if it succeeds, the
-        command is stored in the history list, and the associated edit menu (if
-        any) updated appropriately. If it fails, the command is deleted
-        immediately. Once Submit() has been called, the passed command should
-        not be deleted directly by the application.
+        Submits a new command to the command processor.
+
+        The command processor calls wxCommand::Do() to execute the command;
+        if it succeeds, the command is stored in the history list, and the
+        associated edit menu (if any) updated appropriately.
+        If it fails, the command is deleted immediately. Once Submit() has been
+        called, the passed command should not be deleted directly by the application.
 
+        @param command
+            The command to submit
         @param storeIt
             Indicates whether the successful command should be stored in the
             history list.