/////////////////////////////////////////////////////////////////////////////
// Name: cmdproc.h
-// Purpose: documentation for wxCommand class
+// Purpose: interface of wxCommand
// Author: wxWidgets team
// RCS-ID: $Id$
// Licence: wxWindows license
@library{wxcore}
@category{FIXME}
- @seealso
- Overview
+ @see Overview()
*/
class wxCommand : public wxObject
{
};
+
/**
@class wxCommandProcessor
@wxheader{cmdproc.h}
@library{wxcore}
@category{FIXME}
- @seealso
- @ref overview_wxcommandprocessoroverview "wxCommandProcessor overview",
+ @see @ref overview_wxcommandprocessoroverview "wxCommandProcessor overview",
wxCommand
*/
class wxCommandProcessor : public wxObject
/**
Returns the list of commands.
*/
- wxList GetCommands();
+ wxList GetCommands() const;
/**
Returns the edit menu associated with the command processor.
*/
- wxMenu* GetEditMenu();
+ wxMenu* GetEditMenu() const;
/**
Returns the maximum number of commands that the command processor stores.
*/
- int GetMaxCommands();
+ int GetMaxCommands() const;
/**
Returns the string that will be appended to the Redo menu item.
*/
- const wxString GetRedoAccelerator();
+ const wxString GetRedoAccelerator() const;
/**
Returns the string that will be shown for the redo menu item.
*/
- wxString GetRedoMenuLabel();
+ wxString GetRedoMenuLabel() const;
/**
Returns the string that will be appended to the Undo menu item.
*/
- const wxString GetUndoAccelerator();
+ const wxString GetUndoAccelerator() const;
/**
Returns the string that will be shown for the undo menu item.
*/
- wxString GetUndoMenuLabel();
+ wxString GetUndoMenuLabel() const;
/**
Initializes the command processor, setting the current command to the
*/
virtual bool Undo();
};
+