2007-05-07 18:33:24 +02:00
|
|
|
#ifndef INCLUDED_ATLASWINDOWCOMMANDPROC
|
|
|
|
#define INCLUDED_ATLASWINDOWCOMMANDPROC
|
2006-04-24 01:14:18 +02:00
|
|
|
|
|
|
|
#include "wx/cmdproc.h"
|
|
|
|
|
|
|
|
class AtlasWindowCommandProc : public wxCommandProcessor
|
|
|
|
{
|
|
|
|
public:
|
2005-03-19 23:29:32 +01:00
|
|
|
bool Submit(wxCommand *command, bool storeIt = true);
|
|
|
|
|
|
|
|
// Mark the most recent command as finalized, so it won't be
|
|
|
|
// merged with any subsequent ones
|
|
|
|
void FinaliseLastCommand();
|
|
|
|
|
2006-04-24 01:14:18 +02:00
|
|
|
static AtlasWindowCommandProc* GetFromParentFrame(wxWindow* object);
|
|
|
|
};
|
|
|
|
|
2007-05-07 18:33:24 +02:00
|
|
|
#endif // INCLUDED_ATLASWINDOWCOMMANDPROC
|