Lines Matching defs:wxCommand
22 // wxCommand: a single command capable of performing itself
25 class WXDLLEXPORT wxCommand : public wxObject
28 wxCommand(bool canUndoIt = false, const wxString& name = wxEmptyString);
29 virtual ~wxCommand(){}
45 DECLARE_CLASS(wxCommand)
49 // wxCommandProcessor: wxCommand manager
61 virtual bool Submit(wxCommand *command, bool storeIt = true);
64 virtual void Store(wxCommand *command);
92 wxCommand *GetCurrentCommand() const
94 return (wxCommand *)(m_currentCommand ? m_currentCommand->GetData() : NULL);
120 // for further flexibility, command processor doesn't call wxCommand::Do()
123 virtual bool DoCommand(wxCommand& cmd);
124 virtual bool UndoCommand(wxCommand& cmd);