add const qualifiers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-03-09 16:24:26 +00:00
parent 1fee6e2577
commit 328f5751e8
193 changed files with 2525 additions and 2513 deletions

View File

@@ -126,37 +126,37 @@ public:
/**
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